Back to index

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

Go to the source code of this file.

Functions

int fegetround (void)

Function Documentation

int fegetround ( void  )

Definition at line 24 of file fegetround.c.

{
  fenv_t fpsr;

  __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr));

  return (fpsr >> 10) & 3;
}

Here is the call graph for this function: