Everything

fegetexceptflag


Gets the state of a floating-point flag.

[Format]

#include <fenv.h>

long fegetexceptflag(fexcept_t *f, long e);

[Parameters]

f Pointer to area to store the exception flag state

e Value indicating the exception flag whose state is to be acquired

[Return values]

Normal: 0

Abnormal: Nonzero

[Remarks]

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