[Python-ideas] Python-ideas Digest, Vol 103, Issue 2
random832 at fastmail.us
random832 at fastmail.us
Mon Jun 1 23:09:40 CEST 2015
On Mon, Jun 1, 2015, at 15:13, u8y7541 The Awesome Person wrote:
> Floats internally use numerator and denominator
> (float.as_integer_ratio().)
The fact that this method exists is not actually evidence that this form
is used internally. This is a utility method, provided, I suspect, for
the use of the fractions.Fraction constructor (which class does use a
numerator and denominator).
More information about the Python-ideas
mailing list