fp.h
Upload User: center1979
Upload Date: 2022-07-26
Package Size: 50633k
Code Size: 1k
Category:

OpenGL program

Development Platform:

Visual C++

  1. #define FMAX 40
  2. #define EXPMAXDIGS 8
  3. #define EXPMAX 99999999
  4. /* FMAX = max number of nonzero digits passed to atof() */
  5. /* EXPMAX = 10^EXPMAXDIGS - 1 = largest allowed exponent absolute value */
  6. #ifdef V10 /* Research Tenth-Edition Unix */
  7. #include "local.h"
  8. #endif
  9. /* MAXFRACDIGS and MAXINTDIGS are for wrt_F -- bounds (not necessarily
  10.    tight) on the maximum number of digits to the right and left of
  11.  * the decimal point.
  12.  */
  13. #ifdef VAX
  14. #define MAXFRACDIGS 56
  15. #define MAXINTDIGS 38
  16. #else
  17. #ifdef CRAY
  18. #define MAXFRACDIGS 9880
  19. #define MAXINTDIGS 9864
  20. #else
  21. /* values that suffice for IEEE double */
  22. #define MAXFRACDIGS 344
  23. #define MAXINTDIGS 308
  24. #endif
  25. #endif