home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_07 / 9n07010a < prev    next >
Text File  |  1991-05-23  |  456b  |  21 lines

  1.  
  2. /* values used by math functions
  3.     -- IEEE 754 version */
  4. #include "xmath.h"
  5.  
  6.         /* macros */
  7. #define NBITS    (48+_DOFF)
  8. #if _D0
  9. #define INIT(w0)    0, 0, 0, w0
  10. #else
  11. #define INIT(w0)    w0, 0, 0, 0
  12. #endif
  13.         /* static data */
  14. _Dconst _Hugeval = {{INIT(_DMAX<<_DOFF)}};
  15. _Dconst _Inf = {{INIT(_DMAX<<_DOFF)}};
  16. _Dconst _Nan = {{INIT(_DNAN)}};
  17. _Dconst _Rteps = {{INIT((_DBIAS-NBITS/2)<<_DOFF)}};
  18. _Dconst _Xbig = {{INIT((_DBIAS+NBITS/2)<<_DOFF)}};
  19.  
  20.  
  21.