diff options
author | Ben Cheng <bccheng@google.com> | 2014-03-25 22:37:19 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2014-03-25 22:37:19 -0700 |
commit | 1bc5aee63eb72b341f506ad058502cd0361f0d10 (patch) | |
tree | c607e8252f3405424ff15bc2d00aa38dadbb2518 /gcc-4.9/fixincludes/tests/base/math.h | |
parent | 283a0bf58fcf333c58a2a92c3ebbc41fb9eb1fdb (diff) | |
download | toolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.tar.gz toolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.tar.bz2 toolchain_gcc-1bc5aee63eb72b341f506ad058502cd0361f0d10.zip |
Initial checkin of GCC 4.9.0 from trunk (r208799).
Change-Id: I48a3c08bb98542aa215912a75f03c0890e497dba
Diffstat (limited to 'gcc-4.9/fixincludes/tests/base/math.h')
-rw-r--r-- | gcc-4.9/fixincludes/tests/base/math.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/gcc-4.9/fixincludes/tests/base/math.h b/gcc-4.9/fixincludes/tests/base/math.h new file mode 100644 index 000000000..766017280 --- /dev/null +++ b/gcc-4.9/fixincludes/tests/base/math.h @@ -0,0 +1,100 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/math.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + +#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION +#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1 + +#ifdef __cplusplus +#define exception __math_exception +#endif + + +#if defined( BROKEN_CABS_CHECK ) +#ifdef __STDC__ + +#else + +#endif + +#endif /* BROKEN_CABS_CHECK */ + + +#if defined( DARWIN_9_LONG_DOUBLE_FUNCS_2_CHECK ) +#include <architecture/ppc/math.h> +#endif /* DARWIN_9_LONG_DOUBLE_FUNCS_2_CHECK */ + + +#if defined( HPPA_HPUX_FP_MACROS_CHECK ) +#endif /* _INCLUDE_HPUX_SOURCE */ + +#if defined(_INCLUDE_HPUX_SOURCE) || \ + (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) +# define FP_NORMAL 0 +# define FP_ZERO 1 +# define FP_INFINITE 2 +# define FP_SUBNORMAL 3 +# define FP_NAN 4 +#endif + +#ifdef _INCLUDE_HPUX_SOURCE + +#endif /* HPPA_HPUX_FP_MACROS_CHECK */ + + +#if defined( HPUX11_CPP_POW_INLINE_CHECK ) + +#endif /* HPUX11_CPP_POW_INLINE_CHECK */ + + +#if defined( HPUX11_FABSF_CHECK ) +#ifdef _PA_RISC +#ifndef __cplusplus +# define fabsf(x) ((float)fabs((double)(float)(x))) +#endif +#endif +#endif /* HPUX11_FABSF_CHECK */ + + +#if defined( HPUX8_BOGUS_INLINES_CHECK ) +extern "C" int abs(int); + +#endif /* HPUX8_BOGUS_INLINES_CHECK */ + + +#if defined( MATH_EXCEPTION_CHECK ) +typedef struct exception t_math_exception; +#endif /* MATH_EXCEPTION_CHECK */ + + +#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK ) + +#define HUGE_VAL 3.1415e+9 /* really big */ +#endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */ + + +#if defined( RS6000_DOUBLE_CHECK ) +#ifndef __cplusplus +extern int class(); +#endif +#endif /* RS6000_DOUBLE_CHECK */ + + +#if defined( STRICT_ANSI_NOT_CTD_CHECK ) +#if 1 && \ +&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \ +( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \ +|| !defined(__STRICT_ANSI__) ) /* not std C */ +int foo; +#endif +#endif /* STRICT_ANSI_NOT_CTD_CHECK */ +#ifdef __cplusplus +#undef exception +#endif + +#endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */ |