Back to index

glibc  2.9
Functions
fclrexcpt.c File Reference
#include <fenv_libc.h>
#include <shlib-compat.h>

Go to the source code of this file.

Functions

int __feclearexcept (int excepts)
 versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2)

Function Documentation

int __feclearexcept ( int  excepts)

Definition at line 24 of file fclrexcpt.c.

{
  unsigned long int swcr;

  /* Get the current state.  */
  swcr = __ieee_get_fp_control ();

  /* Clear the relevant bits.  */
  swcr &= ~((unsigned long int) excepts & SWCR_STATUS_MASK);

  /* Put the new state in effect.  */
  __ieee_set_fp_control (swcr);

  /* Success.  */
  return 0;
}

Here is the call graph for this function:

versioned_symbol ( libm  ,
__feclearexcept  ,
feclearexcept  ,
GLIBC_2_2   
)