2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
11 #define FE_TONEAREST _RC_NEAR
12 #define FE_UPWARD _RC_UP
13 #define FE_DOWNWARD _RC_DOWN
14 #define FE_TOWARDZERO _RC_CHOP
16 #define FE_INEXACT _SW_INEXACT
17 #define FE_UNDERFLOW _SW_UNDERFLOW
18 #define FE_OVERFLOW _SW_OVERFLOW
19 #define FE_DIVBYZERO _SW_ZERODIVIDE
20 #define FE_INVALID _SW_INVALID
21 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
29 __msvcrt_ulong _Fe_ctl
;
30 __msvcrt_ulong _Fe_stat
;
33 typedef __msvcrt_ulong fexcept_t
;
35 _ACRTIMP
int __cdecl
fegetenv(fenv_t
*);
36 _ACRTIMP
int __cdecl
fesetenv(const fenv_t
*);
37 _ACRTIMP
int __cdecl
fegetexceptflag(fexcept_t
*, int);
38 _ACRTIMP
int __cdecl
fegetround(void);
39 _ACRTIMP
int __cdecl
feholdexcept(fenv_t
*);
40 _ACRTIMP
int __cdecl
fesetround(int);
41 _ACRTIMP
int __cdecl
fesetexceptflag(const fexcept_t
*, int);
42 _ACRTIMP
int __cdecl
feclearexcept(int);
43 _ACRTIMP
int __cdecl
fetestexcept(int);
49 #endif /* _INC_FENV */