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

Stephen J. Turnbull stephen at xemacs.org
Sat Mar 8 04:46:50 CET 2014


random832 at fastmail.us writes:

 > Or, for that matter, you could limit both the numerator and the
 > denominator to some maximum value - when an intermediate result exceeds
 > it (won't be more than the square of the maximum for most operations),
 > you find the closest representable value.

Knuth calls that "fixed slash" (actually somewhat more general than I
think you mean -- numerator and denominator can have different maximum
values).



More information about the Python-ideas mailing list