MicrOS
fetestexcept.c File Reference
#include "../fenv.h"

Functions

int fetestexcept (int excepts)
 Test for floating-point exceptions. More...
 

Function Documentation

◆ fetestexcept()

int fetestexcept ( int  excepts)

Test for floating-point exceptions.

Function determines which of a specified subset of the floatingpoint exception flags are currently set. The excepts argument specifies the floatingpoint status flags to be queried.

Parameters
exceptsException flags to check.
Returns
Function returns the value of the bitwise OR of the floating-point exception macros corresponding to the currently set floating-point exceptions included in excepts.