next up previous contents index
Next: IEEE Special Values Up: Data Types Previous: Integers   Contents   Index


Floats

CMU Common Lisp supports two floating point formats: single-float and double-float. These are implemented with IEEE single and double float arithmetic, respectively. short-float is a synonym for single-float, and long-float is a synonym for double-float. The initial value of **read-default-float-format is single-float.

Both single-float and double-float are represented with a pointer descriptor, so float operations can cause number consing. Number consing is greatly reduced if programs are written to allow the use of non-descriptor representations (see section numeric-types.)



Subsections

Peter Van Eynde 2000-02-08