ntdll: Allow NtQueryVolumeInformationFile to make async volume information queries.
[wine.git] / include / msvcrt / fenv.h
blob92b341bd46b2a105058408d536231cfceefe979d
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _INC_FENV
7 #define _INC_FENV
9 #include <float.h>
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)
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27 typedef struct
29 __msvcrt_ulong _Fe_ctl;
30 __msvcrt_ulong _Fe_stat;
31 } fenv_t;
33 _ACRTIMP int __cdecl fegetenv(fenv_t*);
34 _ACRTIMP int __cdecl fesetenv(const fenv_t*);
35 _ACRTIMP int __cdecl fegetround(void);
36 _ACRTIMP int __cdecl fesetround(int);
38 #ifdef __cplusplus
40 #endif
42 #endif /* _INC_FENV */