G'day all.

Henning Thielemann suggested:

In measured data the .5-case should be very rare - a "null set"? However I assume that .5 happens more often in practice - because of prior rounding, which was shown to be bad practice in this thread.

The usual case in floating point is usually not 0.5, but some power of
0.5 just beyond the precision of the mantissa.  And this is actually
one of the most common cases in rounding, due to the fact that we use
binary arithmetic.

Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to