Back to index

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

{
  unsigned long fpcr;

  __asm__ __volatile__("excb; mf_fpcr %0" : "=f"(fpcr));

  return (fpcr >> FPCR_ROUND_SHIFT) & 3;
}

Here is the call graph for this function: