Back to index

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

Go to the source code of this file.

Functions

int fegetround (void)

Function Documentation

int fegetround ( void  )

Definition at line 27 of file fegetround.c.

{
  int cw;

  /* Get control word.  */
  _FPU_GETCW (cw);

  return (cw & ROUND_MASK);
}