GNU Info

Info Node: (librep.info)Real Number Functions

(librep.info)Real Number Functions


Next: Mathematical Functions Prev: Rational Functions Up: Numbers
Enter node , (file) or (file)node

Real Number Functions
---------------------

 - Function: abs x
     Returns the magnitude of X.

 - Function: floor x
     Round X downwards to the nearest integer less than or equal to X.

 - Function: ceiling x
     Round X upwards to the nearest integer less than or equal to X.

 - Function: truncate x
     Round X to the nearest integer between X and zero.

 - Function: round x
     Round X to the nearest integer. Halfway cases are rounded to the
     nearest even integer.

 - Function: inexact->exact x
     Returns an exact representation of X. This may involve a loss of
     accuracy.


automatically generated by info2www version 1.2.2.9