ReactOS  0.4.15-dev-1207-g698a8e6
fenv.h File Reference

Go to the source code of this file.

Classes

struct  fenv_t
 

Macros

#define FE_INVALID   0x01
 
#define FE_DENORMAL   0x02
 
#define FE_DIVBYZERO   0x04
 
#define FE_OVERFLOW   0x08
 
#define FE_UNDERFLOW   0x10
 
#define FE_INEXACT   0x20
 
#define FE_ALL_EXCEPT
 
#define FE_TONEAREST   0x0000
 
#define FE_DOWNWARD   0x0400
 
#define FE_UPWARD   0x0800
 
#define FE_TOWARDZERO   0x0c00
 
#define __MXCSR_EXCEPT_FLAG_SHIFT   0
 
#define __MXCSR_ROUND_FLAG_SHIFT   3
 
#define FE_PC64_ENV   ((const fenv_t *)-1)
 
#define FE_PC53_ENV   ((const fenv_t *)-2)
 
#define FE_DFL_ENV   ((const fenv_t *) 0)
 

Typedefs

typedef unsigned short fexcept_t
 

Functions

int __cdecl feclearexcept (int)
 
int __cdecl fegetexceptflag (fexcept_t *flagp, int excepts)
 
int __cdecl feraiseexcept (int excepts)
 
int __cdecl fesetexceptflag (const fexcept_t *, int)
 
int __cdecl fetestexcept (int excepts)
 
int __cdecl fegetround (void)
 
int __cdecl fesetround (int mode)
 
int __cdecl fegetenv (fenv_t *envp)
 
int __cdecl fesetenv (const fenv_t *)
 
int __cdecl feupdateenv (const fenv_t *)
 
int __cdecl feholdexcept (fenv_t *)
 

Macro Definition Documentation

◆ __MXCSR_EXCEPT_FLAG_SHIFT

#define __MXCSR_EXCEPT_FLAG_SHIFT   0

Definition at line 27 of file fenv.h.

◆ __MXCSR_ROUND_FLAG_SHIFT

#define __MXCSR_ROUND_FLAG_SHIFT   3

Definition at line 31 of file fenv.h.

◆ FE_ALL_EXCEPT

#define FE_ALL_EXCEPT
Value:
#define FE_OVERFLOW
Definition: fenv.h:13
#define FE_DIVBYZERO
Definition: fenv.h:12
#define FE_UNDERFLOW
Definition: fenv.h:14
#define FE_INVALID
Definition: fenv.h:10
#define FE_INEXACT
Definition: fenv.h:15
#define FE_DENORMAL
Definition: fenv.h:11

Definition at line 16 of file fenv.h.

◆ FE_DENORMAL

#define FE_DENORMAL   0x02

Definition at line 11 of file fenv.h.

◆ FE_DFL_ENV

#define FE_DFL_ENV   ((const fenv_t *) 0)

Definition at line 74 of file fenv.h.

◆ FE_DIVBYZERO

#define FE_DIVBYZERO   0x04

Definition at line 12 of file fenv.h.

◆ FE_DOWNWARD

#define FE_DOWNWARD   0x0400

Definition at line 21 of file fenv.h.

◆ FE_INEXACT

#define FE_INEXACT   0x20

Definition at line 15 of file fenv.h.

◆ FE_INVALID

#define FE_INVALID   0x01

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 10 of file fenv.h.

◆ FE_OVERFLOW

#define FE_OVERFLOW   0x08

Definition at line 13 of file fenv.h.

◆ FE_PC53_ENV

#define FE_PC53_ENV   ((const fenv_t *)-2)

Definition at line 70 of file fenv.h.

◆ FE_PC64_ENV

#define FE_PC64_ENV   ((const fenv_t *)-1)

Definition at line 67 of file fenv.h.

◆ FE_TONEAREST

#define FE_TONEAREST   0x0000

Definition at line 20 of file fenv.h.

◆ FE_TOWARDZERO

#define FE_TOWARDZERO   0x0c00

Definition at line 23 of file fenv.h.

◆ FE_UNDERFLOW

#define FE_UNDERFLOW   0x10

Definition at line 14 of file fenv.h.

◆ FE_UPWARD

#define FE_UPWARD   0x0800

Definition at line 22 of file fenv.h.

Typedef Documentation

◆ fexcept_t

Definition at line 39 of file fenv.h.

Function Documentation

◆ feclearexcept()

int __cdecl feclearexcept ( int  )

◆ fegetenv()

int __cdecl fegetenv ( fenv_t envp)

◆ fegetexceptflag()

int __cdecl fegetexceptflag ( fexcept_t flagp,
int  excepts 
)

◆ fegetround()

int __cdecl fegetround ( void  )

◆ feholdexcept()

int __cdecl feholdexcept ( fenv_t )

◆ feraiseexcept()

int __cdecl feraiseexcept ( int  excepts)

◆ fesetenv()

int __cdecl fesetenv ( const fenv_t )

◆ fesetexceptflag()

int __cdecl fesetexceptflag ( const fexcept_t ,
int   
)

◆ fesetround()

int __cdecl fesetround ( int  mode)

◆ fetestexcept()

int __cdecl fetestexcept ( int  excepts)

◆ feupdateenv()

int __cdecl feupdateenv ( const fenv_t )