![]() |
[home] [lexicon] [problems] [tests] [courses] [auxiliaries] [notes] [staff] |
![]() |
Mathematics-Online lexicon: | ||
Double Precision Reals |
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | overview |
Double precision reals are stored as dual floating point numbers with a shifted exponent:
0 1 11 12 63 | ||
![]() |
![]() |
![]() ![]() ![]() |
---|
The extreme exponents
and
are reserved for special
purposes. Hence,
are the smallest and largest positive double precision reals.
The representation of exceptional cases is shown in the following table.
![]() |
![]() |
![]() |
|
---|---|---|---|
0 | 0 or 1 |
![]() |
0 |
underflow | 0 or 1 |
![]() |
![]() |
overflow (Inf) | 0 or 1 |
![]() |
![]() |
NaN | 0 or 1 |
![]() |
![]() ![]() ![]() |
Underflow occurs if
.
The storage convention permits the range of values
Overflow occurs if
and is represented by the
symbol Inf preceeded by a sign.
Finally, NaN stands for not-a-number indicating the result of an undefined operation, such as 0/0, Inf-Inf, etc.
Example:
automatically generated 6/11/2007 |