# naginterfaces.library.ieee.get_​exception_​mode¶

naginterfaces.library.ieee.get_exception_mode()[source]

get_exception_mode gets the current IEEE exception halting mode.

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

https://www.nag.com/numeric/nl/nagdoc_27.1/flhtml/x07/x07caf.html

Returns
exceptionmodeint, ndarray, shape

Each of the three elements of is set to if the corresponding condition will raise an exception, and is set to otherwise. concerns floating-point overflow, concerns floating-point division by zero, and concerns floating-point invalid operation.

Notes

get_exception_mode gets 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.