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://support.nag.com/numeric/nl/nagdoc_30.3/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.