Janis Voigtlaender <[EMAIL PROTECTED]> writes:

>> If you round to odd instead of round to even, then 4.5 rounds to 5,

> Well, of course I did not learn to round to odd. I learned to round .5
> to above, but not to do repeated rounding.

Since just about every floating point operation involves some sort of
loss of precision, repeated rounding is a fact of life.  Or use
rationals. 

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to