home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c063 / 1.ddi / INCLUDE.ZIP / VALUES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-18  |  1.1 KB  |  56 lines

  1. /*  values.h
  2.  
  3.     Symbolic names for important constants, including machine
  4.     dependencies. A System V compatible header.
  5.  
  6.     Copyright (c) 1987, 1991 by Borland International
  7.     All Rights Reserved.
  8. */
  9.  
  10. #if !defined( __VALUES_H )
  11. #define __VALUES_H
  12.  
  13. #if !defined( __DEFS_H )
  14. #include <_defs.h>
  15. #endif
  16.  
  17. #ifndef _VALUES_H
  18. #define _VALUES_H
  19.  
  20. #define BITSPERBYTE 8
  21. #define MAXSHORT    0x7FFF
  22. #define MAXINT      0x7FFF
  23. #define MAXLONG     0x7FFFFFFFL
  24. #define HIBITS      0x8000
  25. #define HIBITI      0x8000
  26. #define HIBITL      0x80000000
  27.  
  28. #define DMAXEXP     308
  29. #define FMAXEXP     38
  30. #define DMINEXP     -307
  31. #define FMINEXP     -37
  32.  
  33. #define MAXDOUBLE   1.797693E+308
  34. #define MAXFLOAT    3.37E+38
  35. #define MINDOUBLE   2.225074E-308
  36. #define MINFLOAT    8.43E-37
  37.  
  38. #define DSIGNIF     53
  39. #define FSIGNIF     24
  40.  
  41. #define DMAXPOWTWO  0x3FF
  42. #define FMAXPOWTWO  0x7F
  43. #define _DEXPLEN    11
  44. #define _FEXPLEN    8
  45. #define _EXPBASE    2
  46. #define _IEEE       1
  47. #define _LENBASE    1
  48. #define HIDDENBIT   1
  49. #define LN_MAXDOUBLE    7.0978E+2
  50. #define LN_MINDOUBLE    -7.0840E+2
  51.  
  52. #endif
  53.  
  54. #endif  /* __VALUES_H */
  55.  
  56.