]> git.proxmox.com Git - mirror_edk2.git/blob - StdLib/Include/x86/float.h
Standard Libraries for EDK II.
[mirror_edk2.git] / StdLib / Include / x86 / float.h
1 /* $NetBSD: float.h,v 1.5 2003/10/23 23:26:06 kleink Exp $ */
2
3 #ifndef _X86_FLOAT_H_
4 #define _X86_FLOAT_H_
5
6 #if 0 /* Force all compilers to have the same limits */
7 /* long double and double are the same in Microsoft compilers. */
8 #if !defined(_MSC_VER) /* Non-Microsoft compiler specifics. */
9 #define LDBL_MANT_DIG 64
10 #define LDBL_EPSILON 1.0842021724855044340E-19L
11 #define LDBL_DIG 18
12 #define LDBL_MIN_EXP (-16381)
13 #define LDBL_MIN 3.3621031431120935063E-4932L
14 #define LDBL_MIN_10_EXP (-4931)
15 #define LDBL_MAX_EXP 16384
16 #define LDBL_MAX 1.1897314953572317650E+4932L
17 #define LDBL_MAX_10_EXP 4932
18
19 #define DECIMAL_DIG 21
20 #endif // !defined(_MSC_VER)
21 #endif // if 0
22
23 #include <sys/float_ieee754.h>
24
25 #endif /* _X86_FLOAT_H_ */