]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /* $NetBSD: float.h,v 1.6 2005/12/11 12:16:47 christos Exp $ */\r |
2 | \r | |
3 | #ifndef _ARM_FLOAT_H_\r | |
4 | #define _ARM_FLOAT_H_\r | |
5 | \r | |
6 | #ifndef __VFP_FP__\r | |
7 | #define LDBL_MANT_DIG 64\r | |
8 | #define LDBL_EPSILON 1.0842021724855044340E-19L\r | |
9 | #define LDBL_DIG 18\r | |
10 | #define LDBL_MIN_EXP (-16381)\r | |
11 | #define LDBL_MIN 1.6810515715560467531E-4932L\r | |
12 | #define LDBL_MIN_10_EXP (-4931)\r | |
13 | #define LDBL_MAX_EXP 16384\r | |
14 | #define LDBL_MAX 1.1897314953572317650E+4932L\r | |
15 | #define LDBL_MAX_10_EXP 4932\r | |
16 | #endif\r | |
17 | \r | |
18 | #include <sys/float_ieee754.h>\r | |
19 | \r | |
20 | #ifndef __VFP_FP__\r | |
21 | #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \\r | |
22 | !defined(_XOPEN_SOURCE) || \\r | |
23 | ((__STDC_VERSION__ - 0) >= 199901L) || \\r | |
24 | ((_POSIX_C_SOURCE - 0) >= 200112L) || \\r | |
25 | ((_XOPEN_SOURCE - 0) >= 600) || \\r | |
26 | defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)\r | |
27 | #define DECIMAL_DIG 21\r | |
28 | #endif /* !defined(_ANSI_SOURCE) && ... */\r | |
29 | #endif /* !__VFP_FP__ */\r | |
30 | \r | |
31 | #endif /* !_ARM_FLOAT_H_ */\r |