View | Details | Raw Unified | Return to bug 211965 | Differences between
and this patch

Collapse All | Expand All

(-)e_acos.c (-1 / +1 lines)
Lines 106-111 Link Here
106
	}
106
	}
107
}
107
}
108
108
109
#if LDBL_MANT_DIG == 53
109
#if LDBL_MANT_DIG == DBL_MANT_DIG
110
__weak_reference(acos, acosl);
110
__weak_reference(acos, acosl);
111
#endif
111
#endif
(-)e_acosh.c (-1 / +1 lines)
Lines 63-68 Link Here
63
	}
63
	}
64
}
64
}
65
65
66
#if LDBL_MANT_DIG == 53
66
#if LDBL_MANT_DIG == DBL_MANT_DIG
67
__weak_reference(acosh, acoshl);
67
__weak_reference(acosh, acoshl);
68
#endif
68
#endif
(-)e_asin.c (-1 / +1 lines)
Lines 112-117 Link Here
112
	if(hx>0) return t; else return -t;    
112
	if(hx>0) return t; else return -t;    
113
}
113
}
114
114
115
#if LDBL_MANT_DIG == 53
115
#if LDBL_MANT_DIG == DBL_MANT_DIG
116
__weak_reference(asin, asinl);
116
__weak_reference(asin, asinl);
117
#endif
117
#endif
(-)e_atan2.c (-1 / +1 lines)
Lines 124-129 Link Here
124
	}
124
	}
125
}
125
}
126
126
127
#if LDBL_MANT_DIG == 53
127
#if LDBL_MANT_DIG == DBL_MANT_DIG
128
__weak_reference(atan2, atan2l);
128
__weak_reference(atan2, atan2l);
129
#endif
129
#endif
(-)e_atanh.c (-1 / +1 lines)
Lines 63-68 Link Here
63
	if(hx>=0) return t; else return -t;
63
	if(hx>=0) return t; else return -t;
64
}
64
}
65
65
66
#if LDBL_MANT_DIG == 53
66
#if LDBL_MANT_DIG == DBL_MANT_DIG
67
__weak_reference(atanh, atanhl);
67
__weak_reference(atanh, atanhl);
68
#endif
68
#endif
(-)e_cosh.c (-1 / +1 lines)
Lines 80-85 Link Here
80
	return huge*huge;
80
	return huge*huge;
81
}
81
}
82
82
83
#if (LDBL_MANT_DIG == 53)
83
#if LDBL_MANT_DIG == DBL_MANT_DIG
84
__weak_reference(cosh, coshl);
84
__weak_reference(cosh, coshl);
85
#endif
85
#endif
(-)e_exp.c (-1 / +1 lines)
Lines 159-164 Link Here
159
	}
159
	}
160
}
160
}
161
161
162
#if (LDBL_MANT_DIG == 53)
162
#if LDBL_MANT_DIG == DBL_MANT_DIG
163
__weak_reference(exp, expl);
163
__weak_reference(exp, expl);
164
#endif
164
#endif
(-)e_fmod.c (+4 lines)
Lines 130-132 Link Here
130
	}
130
	}
131
	return x;		/* exact output */
131
	return x;		/* exact output */
132
}
132
}
133
134
#if LDBL_MANT_DIG == DBL_MANT_DIG
135
__weak_reference(fmod, fmodl);
136
#endif
(-)e_hypot.c (-1 / +1 lines)
Lines 126-131 Link Here
126
	} else return w;
126
	} else return w;
127
}
127
}
128
128
129
#if LDBL_MANT_DIG == 53
129
#if LDBL_MANT_DIG == DBL_MANT_DIG
130
__weak_reference(hypot, hypotl);
130
__weak_reference(hypot, hypotl);
131
#endif
131
#endif
(-)e_lgamma.c (-1 / +1 lines)
Lines 34-39 Link Here
34
	return __ieee754_lgamma_r(x,&signgam);
34
	return __ieee754_lgamma_r(x,&signgam);
35
}
35
}
36
36
37
#if (LDBL_MANT_DIG == 53)
37
#if LDBL_MANT_DIG == DBL_MANT_DIG
38
__weak_reference(lgamma, lgammal);
38
__weak_reference(lgamma, lgammal);
39
#endif
39
#endif
(-)e_lgamma_r.c (-1 / +1 lines)
Lines 298-303 Link Here
298
	return r;
298
	return r;
299
}
299
}
300
300
301
#if (LDBL_MANT_DIG == 53)
301
#if LDBL_MANT_DIG == DBL_MANT_DIG
302
__weak_reference(lgamma_r, lgammal_r);
302
__weak_reference(lgamma_r, lgammal_r);
303
#endif
303
#endif
(-)e_log.c (-1 / +1 lines)
Lines 142-147 Link Here
142
	}
142
	}
143
}
143
}
144
144
145
#if (LDBL_MANT_DIG == 53)
145
#if LDBL_MANT_DIG == DBL_MANT_DIG
146
__weak_reference(log, logl);
146
__weak_reference(log, logl);
147
#endif
147
#endif
(-)e_log10.c (-1 / +1 lines)
Lines 89-94 Link Here
89
	return val_lo + val_hi;
89
	return val_lo + val_hi;
90
}
90
}
91
91
92
#if (LDBL_MANT_DIG == 53)
92
#if LDBL_MANT_DIG == DBL_MANT_DIG
93
__weak_reference(log10, log10l);
93
__weak_reference(log10, log10l);
94
#endif
94
#endif
(-)e_log2.c (-1 / +1 lines)
Lines 112-117 Link Here
112
	return val_lo + val_hi;
112
	return val_lo + val_hi;
113
}
113
}
114
114
115
#if (LDBL_MANT_DIG == 53)
115
#if LDBL_MANT_DIG == DBL_MANT_DIG
116
__weak_reference(log2, log2l);
116
__weak_reference(log2, log2l);
117
#endif
117
#endif
(-)e_remainder.c (-1 / +1 lines)
Lines 74-79 Link Here
74
	return x;
74
	return x;
75
}
75
}
76
76
77
#if LDBL_MANT_DIG == 53
77
#if LDBL_MANT_DIG == DBL_MANT_DIG
78
__weak_reference(remainder, remainderl);
78
__weak_reference(remainder, remainderl);
79
#endif
79
#endif
(-)e_sinh.c (-1 / +1 lines)
Lines 74-79 Link Here
74
	return x*shuge;
74
	return x*shuge;
75
}
75
}
76
76
77
#if (LDBL_MANT_DIG == 53)
77
#if LDBL_MANT_DIG == DBL_MANT_DIG
78
__weak_reference(sinh, sinhl);
78
__weak_reference(sinh, sinhl);
79
#endif
79
#endif
(-)e_sqrt.c (-1 / +1 lines)
Lines 188-194 Link Here
188
	return z;
188
	return z;
189
}
189
}
190
190
191
#if (LDBL_MANT_DIG == 53)
191
#if LDBL_MANT_DIG == DBL_MANT_DIG
192
__weak_reference(sqrt, sqrtl);
192
__weak_reference(sqrt, sqrtl);
193
#endif
193
#endif
194
194
(-)imprecise.c (-1 / +1 lines)
Lines 34-40 Link Here
34
 * precision and we should emit a warning whenever something links against
34
 * precision and we should emit a warning whenever something links against
35
 * them.
35
 * them.
36
 */
36
 */
37
#if (LDBL_MANT_DIG > 53)
37
#if LDBL_MANT_DIG > DBL_MANT_DIG
38
#define WARN_IMPRECISE(x) \
38
#define WARN_IMPRECISE(x) \
39
	__warn_references(x, # x " has lower than advertised precision");
39
	__warn_references(x, # x " has lower than advertised precision");
40
#else
40
#else
(-)s_asinh.c (-1 / +1 lines)
Lines 57-62 Link Here
57
	if(hx>0) return w; else return -w;
57
	if(hx>0) return w; else return -w;
58
}
58
}
59
59
60
#if LDBL_MANT_DIG == 53
60
#if LDBL_MANT_DIG == DBL_MANT_DIG
61
__weak_reference(asinh, asinhl);
61
__weak_reference(asinh, asinhl);
62
#endif
62
#endif
(-)s_atan.c (-1 / +1 lines)
Lines 119-124 Link Here
119
	}
119
	}
120
}
120
}
121
121
122
#if LDBL_MANT_DIG == 53
122
#if LDBL_MANT_DIG == DBL_MANT_DIG
123
__weak_reference(atan, atanl);
123
__weak_reference(atan, atanl);
124
#endif
124
#endif
(-)s_cbrt.c (-1 / +1 lines)
Lines 112-117 Link Here
112
	return(t);
112
	return(t);
113
}
113
}
114
114
115
#if (LDBL_MANT_DIG == 53)
115
#if LDBL_MANT_DIG == DBL_MANT_DIG
116
__weak_reference(cbrt, cbrtl);
116
__weak_reference(cbrt, cbrtl);
117
#endif
117
#endif
(-)s_ceil.c (-1 / +1 lines)
Lines 72-77 Link Here
72
	return x;
72
	return x;
73
}
73
}
74
74
75
#if LDBL_MANT_DIG == 53
75
#if LDBL_MANT_DIG == DBL_MANT_DIG
76
__weak_reference(ceil, ceill);
76
__weak_reference(ceil, ceill);
77
#endif
77
#endif
(-)s_cos.c (-1 / +1 lines)
Lines 84-89 Link Here
84
	}
84
	}
85
}
85
}
86
86
87
#if (LDBL_MANT_DIG == 53)
87
#if LDBL_MANT_DIG == DBL_MANT_DIG
88
__weak_reference(cos, cosl);
88
__weak_reference(cos, cosl);
89
#endif
89
#endif
(-)s_cproj.c (-1 / +1 lines)
Lines 42-47 Link Here
42
		return (CMPLX(INFINITY, copysign(0.0, cimag(z))));
42
		return (CMPLX(INFINITY, copysign(0.0, cimag(z))));
43
}
43
}
44
44
45
#if LDBL_MANT_DIG == 53
45
#if LDBL_MANT_DIG == DBL_MANT_DIG
46
__weak_reference(cproj, cprojl);
46
__weak_reference(cproj, cprojl);
47
#endif
47
#endif
(-)s_csqrt.c (-1 / +1 lines)
Lines 107-112 Link Here
107
		return (result);
107
		return (result);
108
}
108
}
109
109
110
#if LDBL_MANT_DIG == 53
110
#if LDBL_MANT_DIG == DBL_MANT_DIG
111
__weak_reference(csqrt, csqrtl);
111
__weak_reference(csqrt, csqrtl);
112
#endif
112
#endif
(-)s_erf.c (-2 / +2 lines)
Lines 242-248 Link Here
242
	if(hx>=0) return one-r/x; else return  r/x-one;
242
	if(hx>=0) return one-r/x; else return  r/x-one;
243
}
243
}
244
244
245
#if (LDBL_MANT_DIG == 53)
245
#if LDBL_MANT_DIG == DBL_MANT_DIG
246
__weak_reference(erf, erfl);
246
__weak_reference(erf, erfl);
247
#endif
247
#endif
248
248
Lines 304-309 Link Here
304
	}
304
	}
305
}
305
}
306
306
307
#if (LDBL_MANT_DIG == 53)
307
#if LDBL_MANT_DIG == DBL_MANT_DIG
308
__weak_reference(erfc, erfcl);
308
__weak_reference(erfc, erfcl);
309
#endif
309
#endif
(-)s_exp2.c (-1 / +1 lines)
Lines 392-397 Link Here
392
	}
392
	}
393
}
393
}
394
394
395
#if (LDBL_MANT_DIG == 53)
395
#if LDBL_MANT_DIG == DBL_MANT_DIG
396
__weak_reference(exp2, exp2l);
396
__weak_reference(exp2, exp2l);
397
#endif
397
#endif
(-)s_expm1.c (-1 / +1 lines)
Lines 217-222 Link Here
217
	return y;
217
	return y;
218
}
218
}
219
219
220
#if (LDBL_MANT_DIG == 53)
220
#if LDBL_MANT_DIG == DBL_MANT_DIG
221
__weak_reference(expm1, expm1l);
221
__weak_reference(expm1, expm1l);
222
#endif
222
#endif
(-)s_floor.c (-1 / +1 lines)
Lines 73-78 Link Here
73
	return x;
73
	return x;
74
}
74
}
75
75
76
#if LDBL_MANT_DIG == 53
76
#if LDBL_MANT_DIG == DBL_MANT_DIG
77
__weak_reference(floor, floorl);
77
__weak_reference(floor, floorl);
78
#endif
78
#endif
(-)s_fma.c (-1 / +1 lines)
Lines 283-288 Link Here
283
		return (add_and_denormalize(r.hi, adj, spread));
283
		return (add_and_denormalize(r.hi, adj, spread));
284
}
284
}
285
285
286
#if (LDBL_MANT_DIG == 53)
286
#if LDBL_MANT_DIG == DBL_MANT_DIG
287
__weak_reference(fma, fmal);
287
__weak_reference(fma, fmal);
288
#endif
288
#endif
(-)s_frexp.c (-1 / +1 lines)
Lines 51-56 Link Here
51
	return x;
51
	return x;
52
}
52
}
53
53
54
#if (LDBL_MANT_DIG == 53)
54
#if LDBL_MANT_DIG == DBL_MANT_DIG
55
__weak_reference(frexp, frexpl);
55
__weak_reference(frexp, frexpl);
56
#endif
56
#endif
(-)s_log1p.c (-1 / +1 lines)
Lines 175-180 Link Here
175
		 return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
175
		 return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
176
}
176
}
177
177
178
#if (LDBL_MANT_DIG == 53)
178
#if LDBL_MANT_DIG == DBL_MANT_DIG
179
__weak_reference(log1p, log1pl);
179
__weak_reference(log1p, log1pl);
180
#endif
180
#endif
(-)s_logb.c (-1 / +1 lines)
Lines 44-49 Link Here
44
		return (double) ((ix>>20)-1023);
44
		return (double) ((ix>>20)-1023);
45
}
45
}
46
46
47
#if (LDBL_MANT_DIG == 53)
47
#if LDBL_MANT_DIG == DBL_MANT_DIG
48
__weak_reference(logb, logbl);
48
__weak_reference(logb, logbl);
49
#endif
49
#endif
(-)s_nan.c (-1 / +1 lines)
Lines 105-110 Link Here
105
	return (u.f);
105
	return (u.f);
106
}
106
}
107
107
108
#if (LDBL_MANT_DIG == 53)
108
#if LDBL_MANT_DIG == DBL_MANT_DIG
109
__weak_reference(nan, nanl);
109
__weak_reference(nan, nanl);
110
#endif
110
#endif
(-)s_nextafter.c (-1 / +1 lines)
Lines 76-82 Link Here
76
	return x;
76
	return x;
77
}
77
}
78
78
79
#if (LDBL_MANT_DIG == 53)
79
#if LDBL_MANT_DIG == DBL_MANT_DIG
80
__weak_reference(nextafter, nexttoward);
80
__weak_reference(nextafter, nexttoward);
81
__weak_reference(nextafter, nexttowardl);
81
__weak_reference(nextafter, nexttowardl);
82
__weak_reference(nextafter, nextafterl);
82
__weak_reference(nextafter, nextafterl);
(-)s_remquo.c (-1 / +1 lines)
Lines 154-159 Link Here
154
	return x;
154
	return x;
155
}
155
}
156
156
157
#if LDBL_MANT_DIG == 53
157
#if LDBL_MANT_DIG == DBL_MANT_DIG
158
__weak_reference(remquo, remquol);
158
__weak_reference(remquo, remquol);
159
#endif
159
#endif
(-)s_rint.c (-1 / +1 lines)
Lines 87-92 Link Here
87
	return w-TWO52[sx];
87
	return w-TWO52[sx];
88
}
88
}
89
89
90
#if (LDBL_MANT_DIG == 53)
90
#if LDBL_MANT_DIG == DBL_MANT_DIG
91
__weak_reference(rint, rintl);
91
__weak_reference(rint, rintl);
92
#endif
92
#endif
(-)s_round.c (-1 / +1 lines)
Lines 55-60 Link Here
55
	}
55
	}
56
}
56
}
57
57
58
#if (LDBL_MANT_DIG == 53)
58
#if LDBL_MANT_DIG == DBL_MANT_DIG
59
__weak_reference(round, roundl);
59
__weak_reference(round, roundl);
60
#endif
60
#endif
(-)s_scalbn.c (-1 / +1 lines)
Lines 60-66 Link Here
60
        return x*twom54;
60
        return x*twom54;
61
}
61
}
62
62
63
#if (LDBL_MANT_DIG == 53)
63
#if LDBL_MANT_DIG == DBL_MANT_DIG
64
__weak_reference(scalbn, ldexpl);
64
__weak_reference(scalbn, ldexpl);
65
__weak_reference(scalbn, scalbnl);
65
__weak_reference(scalbn, scalbnl);
66
#endif
66
#endif
(-)s_sin.c (-1 / +1 lines)
Lines 84-89 Link Here
84
	}
84
	}
85
}
85
}
86
86
87
#if (LDBL_MANT_DIG == 53)
87
#if LDBL_MANT_DIG == DBL_MANT_DIG
88
__weak_reference(sin, sinl);
88
__weak_reference(sin, sinl);
89
#endif
89
#endif
(-)s_tan.c (-1 / +1 lines)
Lines 78-83 Link Here
78
	}
78
	}
79
}
79
}
80
80
81
#if (LDBL_MANT_DIG == 53)
81
#if LDBL_MANT_DIG == DBL_MANT_DIG
82
__weak_reference(tan, tanl);
82
__weak_reference(tan, tanl);
83
#endif
83
#endif
(-)s_tanh.c (-1 / +1 lines)
Lines 79-84 Link Here
79
	return (jx>=0)? z: -z;
79
	return (jx>=0)? z: -z;
80
}
80
}
81
81
82
#if (LDBL_MANT_DIG == 53)
82
#if LDBL_MANT_DIG == DBL_MANT_DIG
83
__weak_reference(tanh, tanhl);
83
__weak_reference(tanh, tanhl);
84
#endif
84
#endif
(-)s_trunc.c (-1 / +1 lines)
Lines 62-67 Link Here
62
	return x;
62
	return x;
63
}
63
}
64
64
65
#if LDBL_MANT_DIG == 53
65
#if LDBL_MANT_DIG == DBL_MANT_DIG
66
__weak_reference(trunc, truncl);
66
__weak_reference(trunc, truncl);
67
#endif
67
#endif
(-)w_cabs.c (-1 / +1 lines)
Lines 18-23 Link Here
18
	return hypot(creal(z), cimag(z));
18
	return hypot(creal(z), cimag(z));
19
}
19
}
20
20
21
#if LDBL_MANT_DIG == 53
21
#if LDBL_MANT_DIG == DBL_MANT_DIG
22
__weak_reference(cabs, cabsl);
22
__weak_reference(cabs, cabsl);
23
#endif
23
#endif

Return to bug 211965