[Haskell-cafe] Difference between div and /

Daniel Fischer daniel.is.fischer at web.de
Tue Jun 1 15:08:19 EDT 2010

On Tuesday 01 June 2010 20:26:55, Jonas Almström Duregård wrote:
> One might expect a == (a/b)*b and other common arithmetic formulas to
> hold for division?
> /Jonas

Better not if one's using Float or Double.

More information about the Haskell-Cafe mailing list