Blame gl/float.c

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