[Numpy-discussion] Internal Math Library of Numpy
Pauli Virtanen
pav+sp at iki.fi
Thu Jul 30 15:56:20 EDT 2009
On 2009-07-30, Nanime Puloski <npuloski at gmail.com> wrote:
> Does Numpy use Python's standard math library when calculating
> elementary functions such as exp(x) and acos(x)?
No.
> Also, what is the internal library of Numpy and Python's
> standard math library?
The standard C library, plus custom implementations for functions
that are missing in it.
> Are they platform independent?
In practice, yes. There are some possible obscure corner cases
currently in complex-valued inf/nan handling, though.
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list