Back to index

glibc  2.9
Functions | Variables
fegetenv.c File Reference
#include "soft-fp.h"
#include "soft-supp.h"
#include <bp-sym.h>
#include <shlib-compat.h>

Go to the source code of this file.


int __fegetenv (fenv_t *envp)
 versioned_symbol (libm, BP_SYM(__fegetenv), BP_SYM(fegetenv), GLIBC_2_2)


int __sim_exceptions
int __sim_disabled_exceptions
int __sim_round_mode

Function Documentation

int __fegetenv ( fenv_t envp)

Definition at line 30 of file fegetenv.c.

  fenv_union_t u;

  u.l[0] = __sim_exceptions;
  u.l[0] |= __sim_round_mode;
  u.l[1] = __sim_disabled_exceptions;

  *envp = u.fenv;

  return 0;
versioned_symbol ( libm  ,
BP_SYM(__fegetenv ,
BP_SYM(fegetenv ,

Variable Documentation

Definition at line 30 of file sim-full.c.