Back to index

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

Go to the source code of this file.

Functions

int fetestexcept (int excepts)

Function Documentation

int fetestexcept ( int  excepts)

Definition at line 26 of file ftestexcept.c.

{
  int cw;

  /* Get current control word.  */
  _FPU_GETCW (cw);

  return cw & excepts & FE_ALL_EXCEPT;
}