11-14-2007 12:55 PM
11-14-2007 01:12 PM
You're probably getting the value from a GUI control that's constraining the maximum value of the variable.
100 e 6 is fully representable in IEEE 754 format.
11-14-2007 01:25 PM
11-14-2007 01:36 PM
11-14-2007 01:36 PM
11-14-2007 01:43 PM
I take it back, it does what you say ....
Stand by while I figure this out ...
11-14-2007 01:45 PM
11-14-2007 01:48 PM
11-14-2007 02:47 PM
Certain numbers including integers between FLT_MIN and FLT_MAX cannot be represented in floating point format. To see why, check out:
http://en.wikipedia.org/wiki/IEEE_754#Single-precision_32_bit
11-14-2007 03:23 PM - edited 11-14-2007 03:24 PM