(lispkit math)defines functions on numbers. Numbers are arranged into a tower of subtypes in which each level is a subset of the level above it:
- complex number
- real number
- rational number
For example, 3 is an integer. Therefore 3 is also a rational, a real, and a complex number. These types are defined by the predicates
There is no simple relationship between a number’s type and its representation inside a computer. Scheme’s numerical operations treat numbers as abstract data, as independent of their representation as possible.
The constant pi.
Euler's number, i.e. the base of the natural logarithm.
Number of bits used to represent fixnum numbers (typically 64).
Greatest fixnum value (typically 9223372036854775807).
Smallest fixnum value (typically -9223372036854775808).