Interface status: |
externallyDefinedApi |
|
FE_INVALID 0x0001
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_DIVBYZERO 0x0002
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_OVERFLOW 0x0004
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_UNDERFLOW 0x0008
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_INEXACT 0x0010
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
Description
Exception flags
Interface status: |
externallyDefinedApi |
|
FE_TONEAREST 0x0000
Description
Rounding modes
Interface status: |
externallyDefinedApi |
|
FE_TOWARDZERO 0x0001
Description
Rounding modes
Interface status: |
externallyDefinedApi |
|
FE_UPWARD 0x0002
Description
Rounding modes
Interface status: |
externallyDefinedApi |
|
FE_DOWNWARD 0x0003
Description
Rounding modes
Interface status: |
externallyDefinedApi |
|
FE_DFL_ENV (&__fe_dfl_env)
Description
Default floating-point environment
Interface status: |
externallyDefinedApi |
|
_FPUSW_SHIFT 16
Description
We need to be able to map status flag positions to mask flag positions
Interface status: |
externallyDefinedApi |
|
typedef __uint32_t fenv_t;
Description
Represents the entire floating-point environment. The floating-point environment refers collectively to any floating-point
status flags and control modes supported by the implementation.
Interface status: |
externallyDefinedApi |
|
typedef __uint32_t fexcept_t;
Description
Represents the floating-point status flags collectively, including any status the implementation associates with the flags.
A floating-point status flag is a system variable whose value is set (but never cleared) when a floating-point exception is
raised, which occurs as a side effect of exceptional floating-point arithmetic to provide auxiliary information. A floating-point
control mode is a system variable whose value may be set by the user to affect the subsequent behavior of floating-point arithmetic.
Interface status: |
externallyDefinedApi |
|
static inline int feclearexcept(int __excepts);
Description
clear floating-point exception
Parameters
Return value
fegetexceptflag(fexcept_t *,int)
Interface status: |
externallyDefinedApi |
|
static inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);
Description
get floating-point status flags
Parameters
Return value
fesetexceptflag(const fexcept_t *,int)
Interface status: |
externallyDefinedApi |
|
static inline int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
Description
set floating-point status flags
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int feraiseexcept(int __excepts);
Description
raise floating-point exception
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fetestexcept(int __excepts);
Description
test floating-point exception flags
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fegetround(void);
Description
get current rounding direction
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fesetround(int __round);
Description
set current rounding direction
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fegetenv(fenv_t *__envp);
Description
get current floating-point environment
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int feholdexcept(fenv_t *__envp);
Description
save current floating-point environment
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fesetenv(const fenv_t *__envp);
Description
set current floating-point environment
Parameters
Return value
feupdateenv(const fenv_t *)
Interface status: |
externallyDefinedApi |
|
static inline int feupdateenv(const fenv_t *__envp);
Description
update floating-point environment
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int feenableexcept(int __mask);
Description
enable floating-point exception
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fedisableexcept(int __mask);
Description
disable floating-point exception
Parameters
Return value
Interface status: |
externallyDefinedApi |
|
static inline int fegetexcept(void);
Description
get floating-point status flags
Return value
fenv.h Global variables