Name:

precision returns the precision necessary to represent a number.

Library name:

sollya_obj_t sollya_lib_precision(sollya_obj_t)

Usage:

precision(x) : constant -> integer

Parameters:

Description:

Example 1:

   > a=round(Pi,20,RN);
   > precision(a);
   19
   > m=mantissa(a);
   > ceil(log2(m));
   19
See also: mantissa, exponent, round
Go back to the list of commands