]> granicus.if.org Git - python/commit
Changed the rounding constant values to match their variable names.
authorRaymond Hettinger <python@rcn.com>
Sun, 4 Jul 2004 13:53:24 +0000 (13:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 4 Jul 2004 13:53:24 +0000 (13:53 +0000)
commit0ea241e9e2d2accb625c4b1d3af6dd1f8df23a75
treeb90018b003b67c422bd87e760f6d8fda7717d01f
parent068979cdd67924120f51c12dcca31e4ed9ba5d7a
Changed the rounding constant values to match their variable names.
This serves to made the context representation more useful (the names in
match the names out).

Removed the link to ReXX.  That document did not shed add anything to
information already in the spec.

Further tighten the public API to improve usability:

* Emax and Emin are set through Context().  Their defaults are set in the
  DefaultContext, so there is no need to expose DEFAULT_MAX_EXPONENT
  and DEFAULT_MIN_EXPONENT.

* The string functions isnan() and isinfinity() were only used internal to
  the module and were not among the test cases.  External use cases are
  served by the Decimal constructor.  So, made these private.
Lib/decimal.py