Back to index

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

Go to the source code of this file.


int feholdexcept (fenv_t *envp)

Function Documentation

int feholdexcept ( fenv_t envp)

Definition at line 24 of file feholdexcpt.c.

  fexcept_t fpc;
  /* Store the environment.  */
  fegetenv (envp);
  /* Clear the current sticky bits as more than one exception
     may be generated.  */
  fpc = envp->fpc & ~(FPC_FLAGS_MASK | FPC_DXC_MASK);
  /* Hold from generating fpu exceptions temporarily.  */
  return 0;

Here is the call graph for this function: