[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extend methods of decimal module

On Wed, Feb 19, 2014 at 3:30 PM, Mark H. Harris <harrismh777 at gmail.com> wrote:
>> The decimal module implements IEEE 854
> Thanks Terry...   ... long time.
> I would like to find out if there is some iron-clad policy about extending
> the implementation of an IEEE standard... decimal module in this case;  I'm
> just thinking that this particular extension really fits the python
> "batteries included" philosophy.
> I guess what I'm really asking for are the same routines found in "bc -l"
> math library. I've finally moved my number crunching stuff to python (from bc)
> because the performance of "decimal" is finally way better than bc for the
> moment, and wrapping python are the math routines for control and processing
> is so much better.   Anyway, sure would be nice to have a very speedy atan()
> function built-in for decimal.

You might consider suggesting a "decimal.math" module on python-ideas.