Back to index

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

Go to the source code of this file.

Functions

int fegetexcept (void)

Function Documentation

int fegetexcept ( void  )

Definition at line 26 of file fegetexcept.c.

{
  unsigned int exc;

  /* Get the current control word.  */
  _FPU_GETCW (exc);

  return (exc & ENABLE_MASK) >> ENABLE_SHIFT;
}