mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-07 14:34:51 +01:00
9ea2a99edb
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15071 a95241bf-73f2-0310-859d-f6bbb57e9c96
29 lines
665 B
C
29 lines
665 B
C
#define FMAX 40
|
|
#define EXPMAXDIGS 8
|
|
#define EXPMAX 99999999
|
|
/* FMAX = max number of nonzero digits passed to atof() */
|
|
/* EXPMAX = 10^EXPMAXDIGS - 1 = largest allowed exponent absolute value */
|
|
|
|
#ifdef V10 /* Research Tenth-Edition Unix */
|
|
#include "local.h"
|
|
#endif
|
|
|
|
/* MAXFRACDIGS and MAXINTDIGS are for wrt_F -- bounds (not necessarily
|
|
tight) on the maximum number of digits to the right and left of
|
|
* the decimal point.
|
|
*/
|
|
|
|
#ifdef VAX
|
|
#define MAXFRACDIGS 56
|
|
#define MAXINTDIGS 38
|
|
#else
|
|
#ifdef CRAY
|
|
#define MAXFRACDIGS 9880
|
|
#define MAXINTDIGS 9864
|
|
#else
|
|
/* values that suffice for IEEE double */
|
|
#define MAXFRACDIGS 344
|
|
#define MAXINTDIGS 308
|
|
#endif
|
|
#endif
|