- * Description of Solaris_Math_5 fix
- */
-tSCC zSolaris_Math_5Name[] =
- "solaris_math_5";
-
-/*
- * File name selection pattern
- */
-tSCC zSolaris_Math_5List[] =
- "iso/math_c99.h\0";
-/*
- * Machine/OS name selection pattern
- */
-#define apzSolaris_Math_5Machs (const char**)NULL
-
-/*
- * content selection pattern - do fix if pattern found
- */
-tSCC zSolaris_Math_5Select0[] =
- "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
-
-/*
- * content bypass pattern - skip fix if pattern found
- */
-tSCC zSolaris_Math_5Bypass0[] =
- "__GNUC__";
-
-#define SOLARIS_MATH_5_TEST_CT 2
-static tTestDesc aSolaris_Math_5Tests[] = {
- { TT_NEGREP, zSolaris_Math_5Bypass0, (regex_t*)NULL },
- { TT_EGREP, zSolaris_Math_5Select0, (regex_t*)NULL }, };
-
-/*
- * Fix Command Arguments for Solaris_Math_5
- */
-static const char* apzSolaris_Math_5Patch[] = {
- "format",
- "#define\tisfinite(x) \\\n\
- __extension__ ({ __typeof (x) __x_f = (x); \\\n\
-\t\t __builtin_expect(!isnan(__x_f - __x_f), 1); })",
- "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)",
- (char*)NULL };
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * *
- *
- * Description of Solaris_Math_6 fix
- */
-tSCC zSolaris_Math_6Name[] =
- "solaris_math_6";
-
-/*
- * File name selection pattern
- */
-tSCC zSolaris_Math_6List[] =
- "iso/math_c99.h\0";
-/*
- * Machine/OS name selection pattern
- */
-#define apzSolaris_Math_6Machs (const char**)NULL
-
-/*
- * content selection pattern - do fix if pattern found
- */
-tSCC zSolaris_Math_6Select0[] =
- "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
-
-/*
- * content bypass pattern - skip fix if pattern found
- */
-tSCC zSolaris_Math_6Bypass0[] =
- "__GNUC__";
-
-#define SOLARIS_MATH_6_TEST_CT 2
-static tTestDesc aSolaris_Math_6Tests[] = {
- { TT_NEGREP, zSolaris_Math_6Bypass0, (regex_t*)NULL },
- { TT_EGREP, zSolaris_Math_6Select0, (regex_t*)NULL }, };
-
-/*
- * Fix Command Arguments for Solaris_Math_6
- */
-static const char* apzSolaris_Math_6Patch[] = {
- "format",
- "#define\tisinf(x) \\\n\
- __extension__ ({ __typeof (x) __x_i = (x); \\\n\
-\t\t __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })",
- "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)",
- (char*)NULL };
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * *
- *
- * Description of Solaris_Math_7 fix
- */
-tSCC zSolaris_Math_7Name[] =
- "solaris_math_7";
-
-/*
- * File name selection pattern
- */
-tSCC zSolaris_Math_7List[] =
- "iso/math_c99.h\0";
-/*
- * Machine/OS name selection pattern
- */
-#define apzSolaris_Math_7Machs (const char**)NULL
-
-/*
- * content selection pattern - do fix if pattern found
- */
-tSCC zSolaris_Math_7Select0[] =
- "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
-
-/*
- * content bypass pattern - skip fix if pattern found
- */
-tSCC zSolaris_Math_7Bypass0[] =
- "__GNUC__";
-
-#define SOLARIS_MATH_7_TEST_CT 2
-static tTestDesc aSolaris_Math_7Tests[] = {
- { TT_NEGREP, zSolaris_Math_7Bypass0, (regex_t*)NULL },
- { TT_EGREP, zSolaris_Math_7Select0, (regex_t*)NULL }, };
-
-/*
- * Fix Command Arguments for Solaris_Math_7
- */
-static const char* apzSolaris_Math_7Patch[] = {
- "format",
- "#define\tisnormal(x) \\\n\
- __extension__ ({ __typeof(x) __x_n = (x); \\\n\
-\t\t if (__x_n < 0.0) __x_n = -__x_n; \\\n\
-\t\t __builtin_expect(isfinite(__x_n) \\\n\
-\t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n\
-\t\t\t\t\t ? __x_n >= __FLT_MIN__ \\\n\
-\t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n\
-\t\t\t\t\t ? __x_n >= __LDBL_MIN__ \\\n\
-\t\t\t\t\t : __x_n >= __DBL_MIN__), 1); })",
- "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)",
- (char*)NULL };
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * *
- *