(lispkit math)
Library
(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:- number
- complex number
- real number
- rational number
- integer
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
number?
, complex?
, real?
, rational?
, and integer?
.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.
pi

The constant pi.
e

Euler's number, i.e. the base of the natural logarithm.
fx-width

Number of bits used to represent fixnum numbers (typically 64).
fx-greatest

Greatest fixnum value (typically 9223372036854775807).
fx-least

Smallest fixnum value (typically -9223372036854775808).
fl-epsilon 
