Back to index

glibc  2.9
Functions
ftestexcept.c File Reference
#include <fenv.h>

Go to the source code of this file.

Functions

int fetestexcept (int excepts)

Function Documentation

int fetestexcept ( int  excepts)

Definition at line 23 of file ftestexcept.c.

{
  fenv_t tmp;

  __fenv_stfsr (tmp);

  return tmp & excepts & FE_ALL_EXCEPT;
}