math.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/math.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
  7. #define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
  8. #ifdef __cplusplus
  9. #define exception __math_exception
  10. #endif
  11. #if defined( BROKEN_CABS_CHECK )
  12. #ifdef __STDC__
  13. #else
  14. #endif
  15. #endif /* BROKEN_CABS_CHECK */
  16. #if defined( DARWIN_9_LONG_DOUBLE_FUNCS_2_CHECK )
  17. #include <architecture/ppc/math.h>
  18. #endif /* DARWIN_9_LONG_DOUBLE_FUNCS_2_CHECK */
  19. #if defined( HPPA_HPUX_FP_MACROS_CHECK )
  20. #endif /* _INCLUDE_HPUX_SOURCE */
  21. #if defined(_INCLUDE_HPUX_SOURCE) || \
  22. (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
  23. # define FP_NORMAL 0
  24. # define FP_ZERO 1
  25. # define FP_INFINITE 2
  26. # define FP_SUBNORMAL 3
  27. # define FP_NAN 4
  28. #endif
  29. #ifdef _INCLUDE_HPUX_SOURCE
  30. #endif /* HPPA_HPUX_FP_MACROS_CHECK */
  31. #if defined( HPUX11_CPP_POW_INLINE_CHECK )
  32. #endif /* HPUX11_CPP_POW_INLINE_CHECK */
  33. #if defined( HPUX11_FABSF_CHECK )
  34. #ifdef _PA_RISC
  35. #ifndef __cplusplus
  36. # define fabsf(x) ((float)fabs((double)(float)(x)))
  37. #endif
  38. #endif
  39. #endif /* HPUX11_FABSF_CHECK */
  40. #if defined( HPUX8_BOGUS_INLINES_CHECK )
  41. extern "C" int abs(int);
  42. #endif /* HPUX8_BOGUS_INLINES_CHECK */
  43. #if defined( MATH_EXCEPTION_CHECK )
  44. typedef struct exception t_math_exception;
  45. #endif /* MATH_EXCEPTION_CHECK */
  46. #if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
  47. #define HUGE_VAL 3.1415e+9 /* really big */
  48. #endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
  49. #if defined( RS6000_DOUBLE_CHECK )
  50. #ifndef __cplusplus
  51. extern int class();
  52. #endif
  53. #endif /* RS6000_DOUBLE_CHECK */
  54. #if defined( STRICT_ANSI_NOT_CTD_CHECK )
  55. #if 1 && \
  56. && defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
  57. ( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
  58. || !defined(__STRICT_ANSI__) ) /* not std C */
  59. int foo;
  60. #endif
  61. #endif /* STRICT_ANSI_NOT_CTD_CHECK */
  62. #ifdef __cplusplus
  63. #undef exception
  64. #endif
  65. #endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */