Does Numpy use Python's standard math library when calculating elementary functions such as exp(x) and acos(x)? Also, what is the internal library of Numpy and Python's standard math library? Are they platform independent?
On 2009-07-30, Nanime Puloski npuloski@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.