]> git.cworth.org Git - tar/blob - gnu/float.in.h
9ec97ab1169737f89500695ba76cb2e946df0657
[tar] / gnu / float.in.h
1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 /* A correct <float.h>.
4
5    Copyright (C) 2007-2010 Free Software Foundation, Inc.
6
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 #ifndef _GL_FLOAT_H
21
22 #if __GNUC__ >= 3
23 @PRAGMA_SYSTEM_HEADER@
24 #endif
25
26 /* The include_next requires a split double-inclusion guard.  */
27 #@INCLUDE_NEXT@ @NEXT_FLOAT_H@
28
29 #ifndef _GL_FLOAT_H
30 #define _GL_FLOAT_H
31
32 /* 'long double' properties.  */
33 #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
34 /* Number of mantissa units, in base FLT_RADIX.  */
35 # undef LDBL_MANT_DIG
36 # define LDBL_MANT_DIG   64
37 /* Number of decimal digits that is sufficient for representing a number.  */
38 # undef LDBL_DIG
39 # define LDBL_DIG        18
40 /* x-1 where x is the smallest representable number > 1.  */
41 # undef LDBL_EPSILON
42 # define LDBL_EPSILON    1.0842021724855044340E-19L
43 /* Minimum e such that FLT_RADIX^(e-1) is a normalized number.  */
44 # undef LDBL_MIN_EXP
45 # define LDBL_MIN_EXP    (-16381)
46 /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number.  */
47 # undef LDBL_MAX_EXP
48 # define LDBL_MAX_EXP    16384
49 /* Minimum positive normalized number.  */
50 # undef LDBL_MIN
51 # define LDBL_MIN        3.3621031431120935063E-4932L
52 /* Maximum representable finite number.  */
53 # undef LDBL_MAX
54 # define LDBL_MAX        1.1897314953572317650E+4932L
55 /* Minimum e such that 10^e is in the range of normalized numbers.  */
56 # undef LDBL_MIN_10_EXP
57 # define LDBL_MIN_10_EXP (-4931)
58 /* Maximum e such that 10^e is in the range of representable finite numbers.  */
59 # undef LDBL_MAX_10_EXP
60 # define LDBL_MAX_10_EXP 4932
61 #endif
62
63 #endif /* _GL_FLOAT_H */
64 #endif /* _GL_FLOAT_H */