| www.delorie.com/gnu/docs/emacs/cl_44.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This package defines several useful constants having to with numbers.
2^23-1 or 2^25-1.
The following parameters have to do with floating-point numbers. This package determines their values by exercising the computer's floating-point arithmetic in various ways. Because this operation might be slow, the code for initializing them is kept in a separate function that must be called before the parameters can be used.
most-positive-float have been initialized. Until it is
called, these parameters will be nil. If this version of Emacs
does not support floats, the parameters will remain nil. If the
parameters have already been initialized, the function returns
immediately.
The algorithm makes assumptions that will be valid for most modern machines, but will fail if the machine's arithmetic is extremely unusual, e.g., decimal.
Since true Common Lisp supports up to four different floating-point
precisions, it has families of constants like
most-positive-single-float, most-positive-double-float,
most-positive-long-float, and so on. Emacs has only one
floating-point precision, so this package omits the precision word
from the constants' names.
1.79e+308.
(- most-positive-float).)
4.94e-324 if denormals are
supported or 2.22e-308 if not.
2.22e-308. For machines that do not support
the concept of denormalization and gradual underflow, this constant
will always equal least-positive-float.
least-positive-float.
least-positive-normalized-float.
2.22e-16.
1.11e-16.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |