The MinGW.org Windows System Libraries
Revision | 979899bcab2fb439cd4a96ebcdfa843058ba9c47 (tree) |
---|---|
Zeit | 2012-09-05 03:32:05 |
Autor | Earnie Boyd <earnie@user...> |
Commiter | Earnie Boyd |
More on assuming GCC is greater than or equal to version 3.5.4 and that
GCC is the only compiler to be used for MinGW.org.
* src/libcrt/math/cephes_mconf.h
@@ -3,6 +3,13 @@ | ||
3 | 3 | More on assuming GCC is greater than or equal to version 3.5.4 and that |
4 | 4 | GCC is the only compiler to be used for MinGW.org. |
5 | 5 | |
6 | + * src/libcrt/math/cephes_mconf.h | |
7 | + | |
8 | +2012-09-04 Earnie Boyd <earnie@users.sourceforge.net> | |
9 | + | |
10 | + More on assuming GCC is greater than or equal to version 3.5.4 and that | |
11 | + GCC is the only compiler to be used for MinGW.org. | |
12 | + | |
6 | 13 | * include/pbt.h: Remove unneeded filters based on the assumptions. |
7 | 14 | * include/powrprof.h: Ditto. |
8 | 15 | * include/prsht.h: Ditto. |
@@ -38,15 +38,8 @@ typedef union uD { const unsigned short sh[4]; double d; } uD; | ||
38 | 38 | #define NEGZERO (-0.0) |
39 | 39 | #undef NAN |
40 | 40 | #undef INFINITY |
41 | -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)) | |
42 | 41 | #define INFINITY __builtin_huge_val() |
43 | 42 | #define NAN __builtin_nan("") |
44 | -#else | |
45 | -extern double __INF; | |
46 | -#define INFINITY (__INF) | |
47 | -extern double __QNAN; | |
48 | -#define NAN (__QNAN) | |
49 | -#endif | |
50 | 43 | |
51 | 44 | /*long double*/ |
52 | 45 | #define MAXNUML 1.189731495357231765021263853E4932L |
@@ -67,15 +60,8 @@ extern double __QNAN; | ||
67 | 60 | |
68 | 61 | #undef NANL |
69 | 62 | #undef INFINITYL |
70 | -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)) | |
71 | 63 | #define INFINITYL __builtin_huge_vall() |
72 | 64 | #define NANL __builtin_nanl("") |
73 | -#else | |
74 | -extern long double __INFL; | |
75 | -#define INFINITYL (__INFL) | |
76 | -extern long double __QNANL; | |
77 | -#define NANL (__QNANL) | |
78 | -#endif | |
79 | 65 | |
80 | 66 | /* float */ |
81 | 67 |
@@ -97,16 +83,8 @@ extern long double __QNANL; | ||
97 | 83 | |
98 | 84 | #undef NANF |
99 | 85 | #undef INFINITYF |
100 | -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)) | |
101 | 86 | #define INFINITYF __builtin_huge_valf() |
102 | 87 | #define NANF __builtin_nanf("") |
103 | -#else | |
104 | -extern float __INFF; | |
105 | -#define INFINITYF (__INFF) | |
106 | -extern float __QNANF; | |
107 | -#define NANF (__QNANF) | |
108 | -#endif | |
109 | - | |
110 | 88 | |
111 | 89 | /* double */ |
112 | 90 |