Blame gnulib/lib/float.c

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