[Numpy-discussion] Speeding up Numeric

Warren Focke focke at slac.stanford.edu
Tue Jan 25 08:22:02 CST 2005


On Mon, 24 Jan 2005 konrad.hinsen at laposte.net wrote:

> On Jan 23, 2005, at 12:20, Norbert Nemec wrote:
>
> > I think, it was one of the fundamental flaws in the design of Python
> > not to include IEEE754 from the very beginning. Leaving the details of
> > floating
>
> Python is written in C, so it couldn't make more promises about floats
> than the C standard does, at least not without an enormous effort. Not
> even the floating-point units of modern CPUs respect IEEE in all
> respects.

And even if that effort had been put into Pythno, Numeric probably
would've sidestepped it for performance.  Note that Python does give
platform-independent behavior for integer division and mod, while Numeric
just gives whatever your C platform does.

Warren Focke





More information about the Numpy-discussion mailing list