Back to index

glibc  2.9
Functions
fegetexcept.c File Reference
#include <fenv.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.

{
  unsigned long temp;

  _FPU_GETCW (temp);

  return (temp >> FE_EXCEPT_SHIFT) & FE_ALL_EXCEPT;
}