msvcrt: Add some definitions and prototypes to float.h.
This commit is contained in:
parent
e0169705d9
commit
92705a48dc
|
@ -128,6 +128,16 @@ extern "C" {
|
|||
#define _FPE_STACKUNDERFLOW 0x8b
|
||||
#define _FPE_EXPLICITGEN 0x8c
|
||||
|
||||
#if defined(__i386__)
|
||||
#define _CW_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL)
|
||||
#elif defined(__x86_64__)
|
||||
#define _CW_DEFAULT (_RC_NEAR + _PC_64 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL)
|
||||
#endif
|
||||
|
||||
unsigned int __cdecl _control87(unsigned int, unsigned int);
|
||||
unsigned int __cdecl _controlfp(unsigned int, unsigned int);
|
||||
errno_t __cdecl _controlfp_s(unsigned int *, unsigned int, unsigned int);
|
||||
|
||||
double __cdecl _copysign (double, double);
|
||||
double __cdecl _chgsign (double);
|
||||
double __cdecl _scalb(double, __msvcrt_long);
|
||||
|
|
Loading…
Reference in New Issue