home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c081_11 / 2.ddi / INCLUDE.ZIP / VALUES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-13  |  1.2 KB  |  64 lines

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