Everything

fetestexcept


Checks the exception flag states.

[Format]

#include <fenv.h>

long fetestexcept(long e);

[Parameters]

e Value indicating flags whose states are to be checked (multiple flags can be specified)

[Return values]

Bitwise OR of e and floating-point exception macros

[Remarks]

A single fetestexcept function call can check multiple floating-point exceptions.

Do not use this function when compiler option nofpu is selected. If used, the function returns a nonzero value, which indicates an abnormality.