mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
modified include/crt/float.h
added include/crt/msc/msc_float.h Implement <float.h> for Visual C++ svn path=/trunk/; revision=42443
This commit is contained in:
parent
83e0a3e605
commit
064df4b419
2 changed files with 51 additions and 3 deletions
|
@ -20,6 +20,10 @@
|
|||
#include_next<float.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <msc_float.h>
|
||||
#endif
|
||||
|
||||
#ifndef _MINGW_FLOAT_H_
|
||||
#define _MINGW_FLOAT_H_
|
||||
|
||||
|
|
44
reactos/include/crt/msc/msc_float.h
Normal file
44
reactos/include/crt/msc/msc_float.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
#ifndef _FLOAT_H___
|
||||
#define _FLOAT_H___
|
||||
|
||||
#define FLT_RADIX 2
|
||||
|
||||
#define FLT_MANT_DIG 24
|
||||
#define DBL_MANT_DIG 53
|
||||
#define LDBL_MANT_DIG DBL_MANT_DIG
|
||||
|
||||
#define FLT_DIG 6
|
||||
#define DBL_DIG 15
|
||||
#define LDBL_DIG 15
|
||||
|
||||
#define FLT_MIN_EXP (-125)
|
||||
#define DBL_MIN_EXP (-1021)
|
||||
#define LDBL_MIN_EXP (-1021)
|
||||
|
||||
#define FLT_MIN_10_EXP (-37)
|
||||
#define DBL_MIN_10_EXP (-307)
|
||||
#define LDBL_MIN_10_EXP (-307)
|
||||
|
||||
#define FLT_MAX_EXP 128
|
||||
#define DBL_MAX_EXP 1024
|
||||
#define LDBL_MAX_EXP 1024
|
||||
|
||||
#define FLT_MAX_10_EXP 38
|
||||
#define DBL_MAX_10_EXP 308
|
||||
#define LDBL_MAX_10_EXP 308
|
||||
|
||||
#define FLT_MAX 3.402823466e+38F
|
||||
#define DBL_MAX 1.7976931348623158e+308
|
||||
#define LDBL_MAX 1.7976931348623158e+308
|
||||
|
||||
#define FLT_EPSILON 1.192092896e-07F
|
||||
#define DBL_EPSILON 2.2204460492503131e-016
|
||||
#define LDBL_EPSILON 2.2204460492503131e-016
|
||||
|
||||
#define FLT_MIN 1.175494351e-38F
|
||||
#define DBL_MIN 2.2250738585072014e-308
|
||||
#define LDBL_MIN 2.2250738585072014e-308
|
||||
|
||||
#define FLT_ROUNDS 1
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue