Back to index

nagios-plugins  1.4.16
float.in.h
Go to the documentation of this file.
00001 /* A correct <float.h>.
00002 
00003    Copyright (C) 2007-2010 Free Software Foundation, Inc.
00004 
00005    This program is free software: you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 3 of the License, or
00008    (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00017 
00018 #ifndef _GL_FLOAT_H
00019 
00020 #if __GNUC__ >= 3
00021 @PRAGMA_SYSTEM_HEADER@
00022 #endif
00023 
00024 /* The include_next requires a split double-inclusion guard.  */
00025 #@INCLUDE_NEXT@ @NEXT_FLOAT_H@
00026 
00027 #ifndef _GL_FLOAT_H
00028 #define _GL_FLOAT_H
00029 
00030 /* 'long double' properties.  */
00031 #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
00032 /* Number of mantissa units, in base FLT_RADIX.  */
00033 # undef LDBL_MANT_DIG
00034 # define LDBL_MANT_DIG   64
00035 /* Number of decimal digits that is sufficient for representing a number.  */
00036 # undef LDBL_DIG
00037 # define LDBL_DIG        18
00038 /* x-1 where x is the smallest representable number > 1.  */
00039 # undef LDBL_EPSILON
00040 # define LDBL_EPSILON    1.0842021724855044340E-19L
00041 /* Minimum e such that FLT_RADIX^(e-1) is a normalized number.  */
00042 # undef LDBL_MIN_EXP
00043 # define LDBL_MIN_EXP    (-16381)
00044 /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number.  */
00045 # undef LDBL_MAX_EXP
00046 # define LDBL_MAX_EXP    16384
00047 /* Minimum positive normalized number.  */
00048 # undef LDBL_MIN
00049 # define LDBL_MIN        3.3621031431120935063E-4932L
00050 /* Maximum representable finite number.  */
00051 # undef LDBL_MAX
00052 # define LDBL_MAX        1.1897314953572317650E+4932L
00053 /* Minimum e such that 10^e is in the range of normalized numbers.  */
00054 # undef LDBL_MIN_10_EXP
00055 # define LDBL_MIN_10_EXP (-4931)
00056 /* Maximum e such that 10^e is in the range of representable finite numbers.  */
00057 # undef LDBL_MAX_10_EXP
00058 # define LDBL_MAX_10_EXP 4932
00059 #endif
00060 
00061 #endif /* _GL_FLOAT_H */
00062 #endif /* _GL_FLOAT_H */