Back to index

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

Go to the source code of this file.


int fegetexcept (void)

Function Documentation

int fegetexcept ( void  )

Definition at line 24 of file fegetexcept.c.

  union { unsigned long long l; unsigned int sw[2] } s;

  /* Get the current status word. */
  __asm__ ("fstd %%fr0,0(%1)       \n\t" 
           "fldd 0(%1),%%fr0       \n\t"
          : "=m" (s.l) : "r" (&s.l) : "%r0");

  return (s.sw[0] & FE_ALL_EXCEPT);

Here is the call graph for this function: