float.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright (c) 1999
  3. * Boris Fomitchev
  4. *
  5. * This material is provided "as is", with absolutely no warranty expressed
  6. * or implied. Any use is at your own risk.
  7. *
  8. * Permission to use or copy this software for any purpose is hereby granted
  9. * without fee, provided the above notices are retained on all copies.
  10. * Permission to modify the code and to distribute modified code is granted,
  11. * provided the above notices are retained, and a notice that the code was
  12. * modified is included with the above copyright notice.
  13. *
  14. */
  15. #if !defined (_STLP_OUTERMOST_HEADER_ID)
  16. # define _STLP_OUTERMOST_HEADER_ID 0x203
  17. # include <stl/_cprolog.h>
  18. #elif (_STLP_OUTERMOST_HEADER_ID == 0x203) && !defined (_STLP_DONT_POP_HEADER_ID)
  19. # define _STLP_DONT_POP_HEADER_ID
  20. #elif (_STLP_OUTERMOST_HEADER_ID == 0x203)
  21. # error This header is only reentrant once, it should be modified if it has to be included more.
  22. #endif
  23. #if defined (_STLP_WCE_EVC3)
  24. struct _exception;
  25. #endif
  26. #if defined (_STLP_HAS_INCLUDE_NEXT)
  27. # include_next <float.h>
  28. #else
  29. # include _STLP_NATIVE_C_HEADER(float.h)
  30. #endif
  31. #if !defined (__linux__)
  32. # if defined(__BORLANDC__) && defined (__cplusplus) && (__BORLANDC__ >= 0x560)
  33. _STLP_BEGIN_NAMESPACE
  34. using ::_max_dble;
  35. using ::_max_flt;
  36. using ::_max_ldble;
  37. using ::_tiny_ldble;
  38. _STLP_END_NAMESPACE
  39. # endif
  40. #endif
  41. #if (_STLP_OUTERMOST_HEADER_ID == 0x203)
  42. # if ! defined (_STLP_DONT_POP_HEADER_ID)
  43. # include <stl/_epilog.h>
  44. # undef _STLP_OUTERMOST_HEADER_ID
  45. # endif
  46. # undef _STLP_DONT_POP_HEADER_ID
  47. #endif