diff options
author | zlg <zlg@zlg.space> | 2013-02-21 03:34:20 -0600 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2013-02-21 03:34:20 -0600 |
commit | 43f5f3755d7fa66d9f525fe94fcc1517d3be55b9 (patch) | |
tree | 61bf9089849c9ebd3e4874c0b5cba1269512de10 /ch1 | |
parent | Solve Exercise 2-01: Variable limits (diff) | |
download | knr-43f5f3755d7fa66d9f525fe94fcc1517d3be55b9.tar.gz knr-43f5f3755d7fa66d9f525fe94fcc1517d3be55b9.tar.bz2 knr-43f5f3755d7fa66d9f525fe94fcc1517d3be55b9.tar.xz knr-43f5f3755d7fa66d9f525fe94fcc1517d3be55b9.zip |
Correct 2-01 solution
FLT_MIN and DBL_MIN refer to the lowest _positive number_ representable
in floating-point form on the machine, not the lowest _negative number_.
Subtracting FLT_MAX from 0 will give you the minimum.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions