Blame lib/float.c

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