Standards
Standards / Extensions |
C or C++ |
Dependencies |
C99
Single UNIX Specification, Version 3
C++ TR1 C99
|
both |
z/OS V1R7 |
Format
#define _ISOC99_SOURCE
#include <fenv.h>
int feraiseexcept(int excepts);
General description
feraiseexcept() raises
the supported floating-point exceptions represented by
excepts.
The order in which these floating-point exceptions are raised is unspecified.
Note: The following table shows the viable formats for these functions.
See
IEEE binary floating-point for more information
about IEEE Binary Floating-Point.
Function |
Hex |
IEEE |
feraiseexcept |
|
X |
Returned value
If successful, feraiseexcept()
returns 0 if the argument passed is 0 or if all the exceptions are
successfully raised.