00001 #define FMAX 40 00002 #define EXPMAXDIGS 8 00003 #define EXPMAX 99999999 00004 /* FMAX = max number of nonzero digits passed to atof() */ 00005 /* EXPMAX = 10^EXPMAXDIGS - 1 = largest allowed exponent absolute value */ 00006 00007 #ifdef V10 /* Research Tenth-Edition Unix */ 00008 #include "local.h" 00009 #endif 00010 00011 /* MAXFRACDIGS and MAXINTDIGS are for wrt_F -- bounds (not necessarily 00012 tight) on the maximum number of digits to the right and left of 00013 * the decimal point. 00014 */ 00015 00016 #ifdef VAX 00017 #define MAXFRACDIGS 56 00018 #define MAXINTDIGS 38 00019 #else 00020 #ifdef CRAY 00021 #define MAXFRACDIGS 9880 00022 #define MAXINTDIGS 9864 00023 #else 00024 /* values that suffice for IEEE double */ 00025 #define MAXFRACDIGS 344 00026 #define MAXINTDIGS 308 00027 #endif 00028 #endif