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 24 of file ftestexcept.c.

{
  fexcept_t fpsr;

  /* Get current exceptions.  */
  __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (fpsr));

  return fpsr & excepts & FE_ALL_EXCEPT;
}

Here is the call graph for this function: