Blame lib/float.c

Packit 8f70b4
/* Auxiliary definitions for <float.h>.
Packit 8f70b4
   Copyright (C) 2011-2018 Free Software Foundation, Inc.
Packit 8f70b4
   Written by Bruno Haible <bruno@clisp.org>, 2011.
Packit 8f70b4
Packit 8f70b4
   This program is free software: you can redistribute it and/or modify
Packit 8f70b4
   it under the terms of the GNU General Public License as published by
Packit 8f70b4
   the Free Software Foundation; either version 3 of the License, or
Packit 8f70b4
   (at your option) any later version.
Packit 8f70b4
Packit 8f70b4
   This program is distributed in the hope that it will be useful,
Packit 8f70b4
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 8f70b4
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 8f70b4
   GNU General Public License for more details.
Packit 8f70b4
Packit 8f70b4
   You should have received a copy of the GNU General Public License
Packit 8f70b4
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
Packit 8f70b4
Packit 8f70b4
#include <config.h>
Packit 8f70b4
Packit 8f70b4
/* Specification.  */
Packit 8f70b4
#include <float.h>
Packit 8f70b4
Packit 8f70b4
#if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
Packit 8f70b4
const union gl_long_double_union gl_LDBL_MAX =
Packit 8f70b4
  { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } };
Packit 8f70b4
#elif defined __i386__
Packit 8f70b4
const union gl_long_double_union gl_LDBL_MAX =
Packit 8f70b4
  { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } };
Packit 8f70b4
#else
Packit 8f70b4
/* This declaration is solely to ensure that after preprocessing
Packit 8f70b4
   this file is never empty.  */
Packit 8f70b4
typedef int dummy;
Packit 8f70b4
#endif