Re: [Numpy-discussion] Single precision equivalents of missing C99 functions

2009-06-02 Thread Francesc Alted
A Monday 01 June 2009 20:26:27 Charles R Harris escrigué: I suppose that the NumPy crew already experimented this divergence and finally used the cast approach for computing the single precision functions. It was inherited and was no doubt the simplest approach at the time. It has always

[Numpy-discussion] Single precision equivalents of missing C99 functions

2009-06-01 Thread Francesc Alted
Hi, In the process of adding single precision support to Numexpr, I'm experimenting a divergence between Numexpr and NumPy computations. It all boils down to the fact that my implementation defined single precision functions completely. As for one, consider my version of expm1f: inline

Re: [Numpy-discussion] Single precision equivalents of missing C99 functions

2009-06-01 Thread Charles R Harris
On Mon, Jun 1, 2009 at 10:22 AM, Francesc Alted fal...@pytables.org wrote: Hi, In the process of adding single precision support to Numexpr, I'm experimenting a divergence between Numexpr and NumPy computations. It all boils down to the fact that my implementation defined single precision