Back to index

glibc  2.9
Functions
feholdexcpt.c File Reference
#include <fenv_libc.h>

Go to the source code of this file.

Functions

int feholdexcept (fenv_t *envp)

Function Documentation

int feholdexcept ( fenv_t envp)

Definition at line 24 of file feholdexcpt.c.

{
  /* Save the current state.  */
  fegetenv(envp);

  /* Clear all exception status bits and exception enable bits.  */
  __ieee_set_fp_control(*envp & SWCR_MAP_MASK);

  return 0;
}

Here is the call graph for this function: