mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
aaee3cd88e
This patch continues cleaning up the math_private.h header, which contains lots of different definitions many of which are only needed by a limited subset of files using that header (and some of which are overridden by architectures that only want to override selected parts of the header), by moving the math_narrow_eval macro out to a separate math-narrow-eval.h header, only included by those files that need it. That header is placed in include/ (since it's used in stdlib/, not just files built in math/, but no sysdeps variants are needed at present). Tested for x86_64, and with build-many-glibcs.py. (Installed stripped shared libraries change because of line numbers in assertions in strtod_l.c.) * include/math-narrow-eval.h: New file. Contents moved from .... * sysdeps/generic/math_private.h: ... here. (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h. [FLT_EVAL_METHOD != 0] (excess_precision): Likewise. * math/s_fdim_template.c: Include <math-narrow-eval.h>. * stdlib/strtod_l.c: Likewise. * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise. * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise. * sysdeps/i386/fpu/s_fdim.c: Likewise. * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise. * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. * sysdeps/ieee754/dbl-64/e_jn.c: Likewise. * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise. * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise. * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise. * sysdeps/ieee754/dbl-64/s_erf.c: Likewise. * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise. * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise. * sysdeps/ieee754/flt-32/e_coshf.c: Likewise. * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise. * sysdeps/ieee754/flt-32/e_expf.c: Likewise. * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. * sysdeps/ieee754/flt-32/e_jnf.c: Likewise. * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise. * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise. * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise. * sysdeps/ieee754/flt-32/s_erff.c: Likewise. * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise. * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise. * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. |
||
---|---|---|
.. | ||
doasin.c | ||
e_acos.S | ||
e_acosf.S | ||
e_acosh.S | ||
e_acoshf.S | ||
e_acoshl.S | ||
e_acosl.c | ||
e_asin.S | ||
e_asinf.S | ||
e_atan2.S | ||
e_atan2f.S | ||
e_atan2l.c | ||
e_atanh.S | ||
e_atanhf.S | ||
e_atanhl.S | ||
e_exp2.S | ||
e_exp2l.S | ||
e_exp10.S | ||
e_exp10f.S | ||
e_exp10l.S | ||
e_exp.S | ||
e_expl.S | ||
e_fmod.S | ||
e_fmodf.S | ||
e_fmodl.c | ||
e_hypot.S | ||
e_hypotf.S | ||
e_ilogb.S | ||
e_ilogbf.S | ||
e_ilogbl.S | ||
e_log2.S | ||
e_log2l.S | ||
e_log10.S | ||
e_log10f.S | ||
e_log10l.S | ||
e_log.S | ||
e_logl.S | ||
e_pow.S | ||
e_powl.S | ||
e_rem_pio2.c | ||
e_remainder.S | ||
e_remainderf.S | ||
e_remainderl.S | ||
e_scalb.S | ||
e_scalbf.S | ||
e_scalbl.S | ||
e_sqrt.S | ||
e_sqrtf.S | ||
e_sqrtl.c | ||
fclrexcpt.c | ||
fedisblxcpt.c | ||
feenablxcpt.c | ||
fegetenv.c | ||
fegetexcept.c | ||
fegetmode.c | ||
fegetround.c | ||
feholdexcpt.c | ||
fenv_private.h | ||
fesetenv.c | ||
fesetexcept.c | ||
fesetmode.c | ||
fesetround.c | ||
feupdateenv.c | ||
fgetexcptflg.c | ||
fraiseexcpt.c | ||
fsetexcptflg.c | ||
ftestexcept.c | ||
i386-math-asm.h | ||
Implies | ||
libm-test-ulps | ||
libm-test-ulps-name | ||
math_private.h | ||
math-tests.h | ||
mpatan2.c | ||
mpatan.c | ||
mpsqrt.c | ||
s_asinh.S | ||
s_asinhf.S | ||
s_asinhl.S | ||
s_atan.S | ||
s_atanf.S | ||
s_atanl.c | ||
s_cbrt.S | ||
s_cbrtf.S | ||
s_cbrtl.S | ||
s_ceil.S | ||
s_ceilf.S | ||
s_ceill.S | ||
s_copysign.S | ||
s_copysignf.S | ||
s_copysignl.S | ||
s_expm1.S | ||
s_expm1f.S | ||
s_expm1l.S | ||
s_f32xaddf64.c | ||
s_f32xsubf64.c | ||
s_fabs.S | ||
s_fabsf.S | ||
s_fabsl.S | ||
s_fdim.c | ||
s_finite.S | ||
s_finitef.S | ||
s_finitel.S | ||
s_floor.S | ||
s_floorf.S | ||
s_floorl.S | ||
s_fmax.S | ||
s_fmaxf.S | ||
s_fmaxl.S | ||
s_fmin.S | ||
s_fminf.S | ||
s_fminl.S | ||
s_fpclassifyl.c | ||
s_frexp.S | ||
s_frexpf.S | ||
s_frexpl.S | ||
s_isinfl.c | ||
s_isnanl.c | ||
s_llrint.S | ||
s_llrintf.S | ||
s_llrintl.S | ||
s_log1p.S | ||
s_log1pf.S | ||
s_log1pl.S | ||
s_logb.S | ||
s_logbf.S | ||
s_logbl.c | ||
s_lrint.S | ||
s_lrintf.S | ||
s_lrintl.S | ||
s_nearbyint.S | ||
s_nearbyintf.S | ||
s_nearbyintl.S | ||
s_nextafterl.c | ||
s_nexttoward.c | ||
s_nexttowardf.c | ||
s_remquo.S | ||
s_remquof.S | ||
s_remquol.S | ||
s_rint.S | ||
s_rintf.S | ||
s_rintl.c | ||
s_scalbln.c | ||
s_scalblnf.c | ||
s_scalblnl.c | ||
s_scalbn.S | ||
s_scalbnf.S | ||
s_scalbnl.S | ||
s_significand.S | ||
s_significandf.S | ||
s_significandl.c | ||
s_trunc.S | ||
s_truncf.S | ||
s_truncl.S | ||
t_exp.c | ||
Versions | ||
w_sqrt_compat.c | ||
w_sqrt.c |