Back to index

glibc  2.9
Functions
fegetexcept.c File Reference
#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 25 of file fegetexcept.c.

{
  fexcept_t exc;

  _FPU_GETCW (exc);
  return ((exc & FPC_EXCEPTION_MASK) >>  FPC_EXCEPTION_MASK_SHIFT);
}