On 2/19/2014 4:54 PM, Zachary Ware wrote:
On Wed, Feb 19, 2014 at 3:30 PM, Mark H. Harris <harrismh...@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.

Or just dmath. I think this is a better idea than suggesting additions to decimal itself. For one thing, anything put in decimal would be subject to change if the function were to be added to the standard. It is worth noting in such a posting that Krah's speedup make such functions really feasible. The algorithms could be similar, at least initially, to the one used for floats.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to