naginterfaces.library.ieee.set_​exception_​mode

naginterfaces.library.ieee.set_exception_mode(exceptionmode)[source]

set_exception_mode sets the current IEEE exception halting mode.

For full information please refer to the NAG Library document for x07cb

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/x07/x07cbf.html

Parameters
exceptionmodeint, array-like, shape

Each of the three elements of must contain any nonzero value if the corresponding condition should raise an exception, and contain otherwise. concerns floating-point overflow, concerns floating-point division by zero, and concerns floating-point invalid operation.

Notes

set_exception_mode sets the current IEEE exception halting mode for the three common exceptions: overflow, divide-by-zero and invalid operation.

References

IEEE, 2008, Standard for Floating-Point Arithmetic (IEEE Standard 754-2008), IEEE, New York.