On Mon, Mar 2, 2015 at 10:48 PM, Chris Barker <chris.bar...@noaa.gov> wrote:
> On Mon, Mar 2, 2015 at 10:39 PM, Guido van Rossum <gu...@python.org> > wrote: > > (*) Adding it to the decimal module would require a discussion with >> Raymond Hettinger, but Decimal users can probably copy and paste the >> formula from the PEP. >> > > yup -- but maybe worth putting in there while we're at it. though as > Decimal is arbitrary precision, maybe it's not needed.... > It's not really arbitrary precision, it's decimal *floating* point with a large but finite precision, so all the same arguments apply. But my reasoning was more that (at least when I was last involved in the project) the decimal module tries to stick pretty close to the IEEE 754 standard (maybe nowadays a later version?) and random Python-only additions are controversial. -- --Guido van Rossum (python.org/~guido)
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com