home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / math / cephes / qfloat / qhead.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-17  |  349 b   |  15 lines

  1. /* Number of 16 bit words in a q type number */
  2. #define NQ 24
  3.  
  4. /* Number of words in significand area */
  5. #define OMG (NQ-2)
  6.  
  7. /* Byte offset to least significant word of significand */
  8. #define OFFS (2*OMG+2)
  9.  
  10. /* Number of bits of precision */
  11. #define NBITS ((OMG-1)*16)
  12.  
  13. /* Maximum number of decimal digits in conversion */
  14. #define NDEC (NBITS*8/27)
  15.