12 Jul
2018
12 Jul
'18

7:39 a.m.

On Thu, Jul 12, 2018 at 5:20 AM Daniel Moisset

(I don't have a good name): something telling that an integer can be represented exactly as a float

One might also ask that question of e.g. decimal.Decimal, fractions.Fraction, so maybe it's better as a method or somewhere else. (Is this any different than float(x).as_integer_ratio() == (x.numerator, x.denominator) for ints/fractions?) -- Devin