home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / borhead.zip / VALUES.H < prev    next >
C/C++ Source or Header  |  1994-11-09  |  1KB  |  58 lines

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