Name:

printsingle prints a constant value as a hexadecimal single precision number

Library name:

void sollya_lib_printsingle(sollya_obj_t)

Usage:

printsingle(constant) : constant -> void

Parameters:

Description:

Example 1:

   > printsingle(3);
   0x40400000

Example 2:

   > prec=100!;
   > verbosity = 1!;
   > printsingle(exp(5));
   Warning: the given expression is not a constant but an expression to evaluate. A faithful evaluation to 100 bits will be used.
   Warning: rounding up occurred before printing a value as a single.
   0x431469c5
See also: printdouble, single
Go back to the list of commands