Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Because you are accumulating different rounding errors and (most likely) a shifting mantissa changes the last bit to be rounded.
updateRounding is often not very intuitive, try to avoid if possible. If you want to track the details you need to look into the binary representation and the underlying C lib.
Cheers Rolf
In reply to Re^3: $var == 1 fails when $var = 1
by LanX
|
|