Next: , Previous: , Up: The language   [Contents][Index]


5.4 Numbers

Librep lacks exact number specification. The behavior depends on if it is compiled with gmp support or not. Of course, some feautures are not available without gmp2.

If it is compiled without gmp, then the size of integer type also depends on the platform. Size of integer is 30-bit signed at minimum.

If portability is important, like sawfish, then you should expect the minimum. For more information, See Types of Numbers.

For conversion of number from / to string, see See String Functions.

Function: numberp object

Returns true if object is a number.


Footnotes

(2)

GMP, or GNU MP is a library which supports arbitrary precision arithmetic.