[Python-ideas] Python Numbers as Human Concept Decimal System

Stephen J. Turnbull stephen at xemacs.org
Thu Mar 6 13:46:55 CET 2014


Steven D'Aprano writes:

 > The problem is that fractions can be unbounded in memory,

Seminumerical Algorithms has a few problems on "floating slash", ie a
representation of numbers where the total memory allocated to a
fraction is fixed, but the amounts allocated to numerator and
denominator are variable.  I don't know if it has ever been tried in
practice, though.  And of course any reasonable fixed size would have
very limited ability to express very large or very small magnitudes.



More information about the Python-ideas mailing list