[Haskell-cafe] about integer and float operations

Yitzchak Gale gale at sefer.org
Wed Feb 4 16:59:32 EST 2009


Manlio Perillo wrote:
> No.
> I'm looking for...

Manlio - can you describe exactly what you want?
Do you know exactly what you want?

You have said that you want division like in Python -
but that even that is not well defined:

Python 2.6.1
>>> 3/5
0

Python 3.1
>>> 3/5
0.59999999999999998

Please tell us *exactly* what you want your division to
do, on integers and on floating point. Or tell us you want
division like / in Python 3.1, or whatever.

-Yitz


More information about the Haskell-Cafe mailing list