source: trunk/minix/include/float.h@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.1 KB
RevLine 
[9]1/* The <float.h> header defines some implementation limits for (IEEE) floating
2 * point. Application programs can use it to find out how big and small
3 * floating-point numbers can be, what epsilon to use for iteration, etc.
4 */
5
6#ifndef _FLOAT_H
7#define _FLOAT_H
8
9#define FLT_DIG 6
10#define FLT_EPSILON 1.19209290e-07F
11#define FLT_MANT_DIG 24
12#define FLT_MAX 3.40282347e+38F
13#define FLT_MAX_10_EXP 38
14#define FLT_MAX_EXP 128
15#define FLT_MIN 1.17549435e-38F
16#define FLT_MIN_10_EXP -37
17#define FLT_MIN_EXP -125
18
19#define DBL_DIG 15
20#define DBL_EPSILON 2.2204460492503131e-16
21#define DBL_MANT_DIG 53
22#define DBL_MAX 1.7976931348623157e+308
23#define DBL_MAX_10_EXP 308
24#define DBL_MAX_EXP 1024
25#define DBL_MIN 2.2250738585072014e-308
26#define DBL_MIN_10_EXP -307
27#define DBL_MIN_EXP -1021
28
29#define LDBL_DIG 15
30#define LDBL_EPSILON 2.2204460492503131e-16L
31#define LDBL_MANT_DIG 53
32#define LDBL_MAX 1.7976931348623157e+308L
33#define LDBL_MAX_10_EXP 308
34#define LDBL_MAX_EXP 1024
35#define LDBL_MIN 2.2250738585072014e-308L
36#define LDBL_MIN_10_EXP -307
37#define LDBL_MIN_EXP -1021
38
39#define FLT_ROUNDS 1
40#define FLT_RADIX 2
41
42#endif /* _FLOAT_H */
Note: See TracBrowser for help on using the repository browser.