OSDN Git Service

* inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
[pf3gnuchains/gcc-fork.git] / fixincludes / tests / base / iso / math_c99.h
index bc2b653..e87ca87 100644 (file)
 #endif  /* SOLARIS_MATH_4_CHECK */
 
 
 #endif  /* SOLARIS_MATH_4_CHECK */
 
 
-#if defined( SOLARIS_MATH_5_CHECK )
-#ident "@(#)math_c99.h 1.9     04/11/01 SMI"
-#undef isfinite
-#define        isfinite(x) \
-  __extension__ ({ const __typeof (x) __x_f = (x); \
-                   __builtin_expect(sizeof(__x_f) == sizeof(float) \
-                         ? islessequal(__builtin_fabsf(__x_f),__FLT_MAX__) \
-                         : sizeof(__x_f) == sizeof(long double) \
-                           ? islessequal(__builtin_fabsl(__x_f),__LDBL_MAX__) \
-                           : islessequal(__builtin_fabs(__x_f),__DBL_MAX__), 1); })
-#endif  /* SOLARIS_MATH_5_CHECK */
-
-
-#if defined( SOLARIS_MATH_6_CHECK )
-#ident "@(#)math_c99.h 1.9     04/11/01 SMI"
-#undef isinf
-#define        isinf(x) \
-  __extension__ ({ const __typeof (x) __x_i = (x); \
-                   __builtin_expect(sizeof(__x_i) == sizeof(float) \
-                         ? isgreater(__builtin_fabsf(__x_i),__FLT_MAX__) \
-                         : sizeof(__x_i) == sizeof(long double) \
-                           ? isgreater(__builtin_fabsl(__x_i),__LDBL_MAX__) \
-                           : isgreater(__builtin_fabs(__x_i),__DBL_MAX__), 0); })
-#endif  /* SOLARIS_MATH_6_CHECK */
-
-
-#if defined( SOLARIS_MATH_7_CHECK )
-#ident "@(#)math_c99.h 1.9     04/11/01 SMI"
-#undef isnormal
-#define        isnormal(x) \
-  __extension__ ({ const __typeof(x) __x_n = (x); \
-                  __builtin_expect(isfinite(__x_n) \
-                                   && (sizeof(__x_n) == sizeof(float) \
-                                         ? isgreaterequal(__builtin_fabsf(__x_n),__FLT_MIN__) \
-                                         : sizeof(__x_n) == sizeof(long double) \
-                                           ? isgreaterequal(__builtin_fabsl(__x_n),__LDBL_MIN__) \
-                                           : isgreaterequal(__builtin_fabs(__x_n),__DBL_MIN__)), 1); })
-#endif  /* SOLARIS_MATH_7_CHECK */
-
-
 #if defined( SOLARIS_MATH_8_CHECK )
 #ident "@(#)math_c99.h 1.9     04/11/01 SMI"
 #undef signbit
 #if defined( SOLARIS_MATH_8_CHECK )
 #ident "@(#)math_c99.h 1.9     04/11/01 SMI"
 #undef signbit