Documentation ¶
Overview ¶
Math module -- standard C math library functions, pi and e
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EDOM = py.ExceptionNewf(py.ValueError, "math domain error") ERANGE = py.ExceptionNewf(py.OverflowError, "math range error") )
In general, on an IEEE-754 platform the aim is to follow the C99 standard, including Annex 'F', whenever possible. Where the standard recommends raising the 'divide-by-zero' or 'invalid' floating-point exceptions, Python should raise a ValueError. Where the standard recommends raising 'overflow', Python should raise an OverflowError. In all other circumstances a value should be returned.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.