News for hackers. Stuff that matters.
Re:0.30000000000000004 by sametmax on Monday April 03, 2017 @03:17AM (#14021122)
But Python also warns about it in the documentation, and provide the factions (https://docs.python.org/3.1/library/fractions.html) module and the decimal module thttps://docs.python.org/3.1/library/decimal.html) in the stdlib to avoid the problem.
Re:0.30000000000000004 by int_19h on Monday April 03, 2017 @05:26PM (#14027316)
One thing I really wish Python had is decimal literals. I mean, it does have imaginary literals, which is arguably more of a corner case...