[Python-Dev] New operations in Decimal

Raymond Hettinger python at rcn.com
Sat May 12 06:52:49 CEST 2007


> The only rationale I can think of for such a thing is
> that maybe they're trying to accommodate the possibility
> of a machine built entirely around a hardware implementation
> of the spec, that doesn't have any other way of doing
> bitwise logical operations.

Nonsense.  The logical operations are there for environments where decimal is the only available numeric type.
IIRC, this is how Rexx works with decimal implemented around strings where what you type is what you get.


Raymond


More information about the Python-Dev mailing list