Back to index

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

Go to the source code of this file.

Functions

int fegetexcept (void)

Function Documentation

int fegetexcept ( void  )

Definition at line 24 of file fegetexcept.c.

{
  unsigned short int exc;

  /* Get the current control word.  */
  __asm__ ("fstcw %0" : "=m" (*&exc));

  return (~exc) & FE_ALL_EXCEPT;
}

Here is the call graph for this function: