home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c021 / 7.img / INCLUDE.ZIP / VALUES.H < prev   
Encoding:
C/C++ Source or Header  |  1990-05-04  |  1.1 KB  |  57 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
  7.     All Rights Reserved.
  8. */
  9. #if __STDC__
  10. #define _Cdecl
  11. #else
  12. #define _Cdecl    cdecl
  13. #endif
  14.  
  15. #ifndef __PAS__
  16. #define _CType _Cdecl
  17. #else
  18. #define _CType pascal
  19. #endif
  20.  
  21. #ifndef _VALUES_H
  22. #define    _VALUES_H
  23.  
  24. #define BITSPERBYTE    8
  25. #define MAXSHORT    0x7FFF
  26. #define MAXINT        0x7FFF
  27. #define MAXLONG        0x7FFFFFFFL
  28. #define HIBITS        0x8000
  29. #define HIBITI        0x8000
  30. #define HIBITL        0x80000000
  31.  
  32. #define DMAXEXP        308
  33. #define FMAXEXP        38
  34. #define DMINEXP        -307
  35. #define FMINEXP        -37
  36.  
  37. #define MAXDOUBLE    1.797693E+308
  38. #define MAXFLOAT    3.37E+38
  39. #define MINDOUBLE    2.225074E-308
  40. #define MINFLOAT    8.43E-37
  41.  
  42. #define DSIGNIF        53
  43. #define FSIGNIF        24
  44.  
  45. #define DMAXPOWTWO    0x3FF
  46. #define FMAXPOWTWO    0x7F
  47. #define _DEXPLEN    11
  48. #define _FEXPLEN    8
  49. #define _EXPBASE    2
  50. #define _IEEE        1
  51. #define _LENBASE    1
  52. #define HIDDENBIT    1
  53. #define LN_MAXDOUBLE    7.0978E+2
  54. #define LN_MINDOUBLE    -7.0840E+2
  55.  
  56. #endif
  57.