C
cristofd
This is not mentioned in the official list at
http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html.
On page 257, FLT_MAX_EXP is defined as
"maximum n such that (FLT_RADIX^n)-1 is representable"
(at least, that's the closest I can express it in ASCII); whereas it
should be
"maximum n such that FLT_RADIX^(n-1) is representable"
(i.e., the "-1" should be in superscript along with the "n").
In fact, if I have things straight, the definition in the book would
make FLT_MAX_EXP essentially a synonym for FLT_MANT_DIG. The same goes
for DBL_MAX_EXP on page 258. Am I missing something, or is this an
error they should be informed of?
-Daniel.
http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html.
On page 257, FLT_MAX_EXP is defined as
"maximum n such that (FLT_RADIX^n)-1 is representable"
(at least, that's the closest I can express it in ASCII); whereas it
should be
"maximum n such that FLT_RADIX^(n-1) is representable"
(i.e., the "-1" should be in superscript along with the "n").
In fact, if I have things straight, the definition in the book would
make FLT_MAX_EXP essentially a synonym for FLT_MANT_DIG. The same goes
for DBL_MAX_EXP on page 258. Am I missing something, or is this an
error they should be informed of?
-Daniel.