948c76549561212a2dfde31e3d0b7c26bc0e4f66
[debian/tar] / gnu / float.c
1 /* -*- buffer-read-only: t -*- vi: set ro: */
2 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3 /* Auxiliary definitions for <float.h>.
4    Copyright (C) 2011-2013 Free Software Foundation, Inc.
5    Written by Bruno Haible <bruno@clisp.org>, 2011.
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 #include <config.h>
21
22 /* Specification.  */
23 #include <float.h>
24
25 #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
26 const union gl_long_double_union gl_LDBL_MAX =
27   { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } };
28 #elif defined __i386__
29 const union gl_long_double_union gl_LDBL_MAX =
30   { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } };
31 #else
32 /* This declaration is solely to ensure that after preprocessing
33    this file is never empty.  */
34 typedef int dummy;
35 #endif