Back to index

glibc  2.9
fl.h
Go to the documentation of this file.
00001 /* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003 
00004    The GNU C Library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Lesser General Public
00006    License as published by the Free Software Foundation; either
00007    version 2.1 of the License, or (at your option) any later version.
00008 
00009    The GNU C Library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Lesser General Public License for more details.
00013 
00014    You should have received a copy of the GNU Lesser General Public
00015    License along with the GNU C Library; if not, write to the Free
00016    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00017    02111-1307 USA.  */
00018 
00019 #ifndef       __need_HUGE_VAL
00020 
00021 /* Floating-point constants for Vaxen.  */
00022 
00023 #define       FLT_RADIX     2
00024 
00025 #define       FLT_ROUNDS    _FLT_ROUNDS_TONEAREST
00026 
00027 #define       FLT_MANT_DIG  23
00028 #define       DBL_MANT_DIG  55
00029 #define       LDBL_MANT_DIG 55
00030 
00031 #define       FLT_DIG              6
00032 #define       DBL_DIG              16
00033 #define       LDBL_DIG      16
00034 
00035 #define       FLT_MIN_EXP   (-128)
00036 #define       DBL_MIN_EXP   (-128)
00037 #define       LDBL_MIN_EXP  (-128)
00038 
00039 #define       FLT_MIN_10_EXP       (-38)
00040 #define       DBL_MIN_10_EXP       (-38)
00041 #define       LDBL_MIN_10_EXP      (-38)
00042 
00043 #define       FLT_MAX_EXP   127
00044 #define       DBL_MAX_EXP   127
00045 #define       LDBL_MAX_EXP  127
00046 
00047 #define       FLT_MAX_10_EXP       38
00048 #define       DBL_MAX_10_EXP       38
00049 #define       LDBL_MAX_10_EXP      38
00050 
00051 #define       FLT_MAX              1.7014116e38
00052 #define       DBL_MAX              1.70141182460469227e38
00053 #define       LDBL_MAX      DBL_MAX
00054 
00055 #define       FLT_EPSILON   2.384186e-7
00056 #define       DBL_EPSILON   5.55111512312578270e-17
00057 #define       LDBL_EPSILON  DBL_EPSILON
00058 
00059 #define       FLT_MIN              0.2938736e-38
00060 #define       DBL_MIN              0.29387358770557187e-38
00061 #define       LDBL_MIN      DBL_MIN
00062 
00063 #else  /* Need HUGE_VAL.  */
00064 
00065 /* Used by <stdlib.h> and <math.h> functions for overflow.     */
00066 #define       HUGE_VAL      1.70141182460469227e38
00067 
00068 #endif /* Don't need HUGE_VAL.  */