2N/A/* A correct <float.h>.
2N/A
2N/A Copyright (C) 2007-2010 Free Software Foundation, Inc.
2N/A
2N/A This program is free software: you can redistribute it and/or modify
2N/A it under the terms of the GNU General Public License as published by
2N/A the Free Software Foundation; either version 3 of the License, or
2N/A (at your option) any later version.
2N/A
2N/A This program is distributed in the hope that it will be useful,
2N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
2N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2N/A GNU General Public License for more details.
2N/A
2N/A You should have received a copy of the GNU General Public License
2N/A along with this program. If not, see <http://www.gnu.org/licenses/>. */
2N/A
2N/A#ifndef _GL_FLOAT_H
2N/A
2N/A#if __GNUC__ >= 3
2N/A@PRAGMA_SYSTEM_HEADER@
2N/A#endif
2N/A
2N/A/* The include_next requires a split double-inclusion guard. */
2N/A#@INCLUDE_NEXT@ @NEXT_FLOAT_H@
2N/A
2N/A#ifndef _GL_FLOAT_H
2N/A#define _GL_FLOAT_H
2N/A
2N/A/* 'long double' properties. */
2N/A#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
2N/A/* Number of mantissa units, in base FLT_RADIX. */
2N/A# undef LDBL_MANT_DIG
2N/A# define LDBL_MANT_DIG 64
2N/A/* Number of decimal digits that is sufficient for representing a number. */
2N/A# undef LDBL_DIG
2N/A# define LDBL_DIG 18
2N/A/* x-1 where x is the smallest representable number > 1. */
2N/A# undef LDBL_EPSILON
2N/A# define LDBL_EPSILON 1.0842021724855044340E-19L
2N/A/* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */
2N/A# undef LDBL_MIN_EXP
2N/A# define LDBL_MIN_EXP (-16381)
2N/A/* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */
2N/A# undef LDBL_MAX_EXP
2N/A# define LDBL_MAX_EXP 16384
2N/A/* Minimum positive normalized number. */
2N/A# undef LDBL_MIN
2N/A# define LDBL_MIN 3.3621031431120935063E-4932L
2N/A/* Maximum representable finite number. */
2N/A# undef LDBL_MAX
2N/A# define LDBL_MAX 1.1897314953572317650E+4932L
2N/A/* Minimum e such that 10^e is in the range of normalized numbers. */
2N/A# undef LDBL_MIN_10_EXP
2N/A# define LDBL_MIN_10_EXP (-4931)
2N/A/* Maximum e such that 10^e is in the range of representable finite numbers. */
2N/A# undef LDBL_MAX_10_EXP
2N/A# define LDBL_MAX_10_EXP 4932
2N/A#endif
2N/A
2N/A#endif /* _GL_FLOAT_H */
2N/A#endif /* _GL_FLOAT_H */