Do not include fenv_private.h in math_private.h.

Continuing the clean-up related to the catch-all math_private.h
header, this patch stops math_private.h from including fenv_private.h.
Instead, fenv_private.h is included directly from those users of
math_private.h that also used interfaces from fenv_private.h.  No
attempt is made to remove unused includes of math_private.h, but that
is a natural followup.

(However, since math_private.h sometimes defines optimized versions of
math.h interfaces or __* variants thereof, as well as defining its own
interfaces, I think it might make sense to get all those optimized
versions included from include/math.h, not requiring a separate header
at all, before eliminating unused math_private.h includes - that
avoids a file quietly becoming less-optimized if someone adds a call
to one of those interfaces without restoring a math_private.h include
to that file.)

There is still a pitfall that if code uses plain fe* and __fe*
interfaces, but only includes fenv.h and not fenv_private.h or (before
this patch) math_private.h, it will compile on platforms with
exceptions and rounding modes but not get the optimized versions (and
possibly not compile) on platforms without exception and rounding mode
support, so making it easy to break the build for such platforms
accidentally.

I think it would be most natural to move the inlines / macros for fe*
and __fe* in the case of no exceptions and rounding modes into
include/fenv.h, so that all code including fenv.h with _ISOMAC not
defined automatically gets them.  Then fenv_private.h would be purely
the header for the libc_fe*, SET_RESTORE_ROUND etc. internal
interfaces and the risk of breaking the build on other platforms than
the one you tested on because of a missing fenv_private.h include
would be much reduced (and there would be some unused fenv_private.h
includes to remove along with unused math_private.h includes).

Tested for x86_64 and x86, and tested with build-many-glibcs.py that
installed stripped shared libraries are unchanged by this patch.

	* sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
	* math/fromfp.h: Include <fenv_private.h>.
	* math/math-narrow.h: Likewise.
	* math/s_cexp_template.c: Likewise.
	* math/s_csin_template.c: Likewise.
	* math/s_csinh_template.c: Likewise.
	* math/s_ctan_template.c: Likewise.
	* math/s_ctanh_template.c: Likewise.
	* math/s_iseqsig_template.c: Likewise.
	* math/w_acos_compat.c: Likewise.
	* math/w_acosf_compat.c: Likewise.
	* math/w_acosl_compat.c: Likewise.
	* math/w_asin_compat.c: Likewise.
	* math/w_asinf_compat.c: Likewise.
	* math/w_asinl_compat.c: Likewise.
	* math/w_ilogb_template.c: Likewise.
	* math/w_j0_compat.c: Likewise.
	* math/w_j0f_compat.c: Likewise.
	* math/w_j0l_compat.c: Likewise.
	* math/w_j1_compat.c: Likewise.
	* math/w_j1f_compat.c: Likewise.
	* math/w_j1l_compat.c: Likewise.
	* math/w_jn_compat.c: Likewise.
	* math/w_jnf_compat.c: Likewise.
	* math/w_llogb_template.c: Likewise.
	* math/w_log10_compat.c: Likewise.
	* math/w_log10f_compat.c: Likewise.
	* math/w_log10l_compat.c: Likewise.
	* math/w_log2_compat.c: Likewise.
	* math/w_log2f_compat.c: Likewise.
	* math/w_log2l_compat.c: Likewise.
	* math/w_log_compat.c: Likewise.
	* math/w_logf_compat.c: Likewise.
	* math/w_logl_compat.c: Likewise.
	* sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
	* sysdeps/aarch64/fpu/fesetround.c: Likewise.
	* sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
	* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
	* sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
	* sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
	* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
	* sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
	* sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
	* sysdeps/ieee754/float128/float128_private.h: 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/lgamma_negf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
	* sysdeps/ieee754/k_standardl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
	* sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
	* sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
	* sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
	* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
	* sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
	* sysdeps/riscv/rvd/s_finite.c: Likewise.
	* sysdeps/riscv/rvd/s_fmax.c: Likewise.
	* sysdeps/riscv/rvd/s_fmin.c: Likewise.
	* sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
	* sysdeps/riscv/rvd/s_isinf.c: Likewise.
	* sysdeps/riscv/rvd/s_isnan.c: Likewise.
	* sysdeps/riscv/rvd/s_issignaling.c: Likewise.
	* sysdeps/riscv/rvf/fegetround.c: Likewise.
	* sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
	* sysdeps/riscv/rvf/fesetenv.c: Likewise.
	* sysdeps/riscv/rvf/fesetround.c: Likewise.
	* sysdeps/riscv/rvf/feupdateenv.c: Likewise.
	* sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
	* sysdeps/riscv/rvf/ftestexcept.c: Likewise.
	* sysdeps/riscv/rvf/s_ceilf.c: Likewise.
	* sysdeps/riscv/rvf/s_finitef.c: Likewise.
	* sysdeps/riscv/rvf/s_floorf.c: Likewise.
	* sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
	* sysdeps/riscv/rvf/s_fminf.c: Likewise.
	* sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
	* sysdeps/riscv/rvf/s_isinff.c: Likewise.
	* sysdeps/riscv/rvf/s_isnanf.c: Likewise.
	* sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
	* sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
	* sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
	* sysdeps/riscv/rvf/s_roundf.c: Likewise.
	* sysdeps/riscv/rvf/s_truncf.c: Likewise.
This commit is contained in:
Joseph Myers 2018-09-03 21:09:04 +00:00
parent a6e8926f8d
commit 70e2ba332f
145 changed files with 290 additions and 2 deletions

147
ChangeLog
View File

@ -1,3 +1,150 @@
2018-09-03 Joseph Myers <joseph@codesourcery.com>
* sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
* math/fromfp.h: Include <fenv_private.h>.
* math/math-narrow.h: Likewise.
* math/s_cexp_template.c: Likewise.
* math/s_csin_template.c: Likewise.
* math/s_csinh_template.c: Likewise.
* math/s_ctan_template.c: Likewise.
* math/s_ctanh_template.c: Likewise.
* math/s_iseqsig_template.c: Likewise.
* math/w_acos_compat.c: Likewise.
* math/w_acosf_compat.c: Likewise.
* math/w_acosl_compat.c: Likewise.
* math/w_asin_compat.c: Likewise.
* math/w_asinf_compat.c: Likewise.
* math/w_asinl_compat.c: Likewise.
* math/w_ilogb_template.c: Likewise.
* math/w_j0_compat.c: Likewise.
* math/w_j0f_compat.c: Likewise.
* math/w_j0l_compat.c: Likewise.
* math/w_j1_compat.c: Likewise.
* math/w_j1f_compat.c: Likewise.
* math/w_j1l_compat.c: Likewise.
* math/w_jn_compat.c: Likewise.
* math/w_jnf_compat.c: Likewise.
* math/w_llogb_template.c: Likewise.
* math/w_log10_compat.c: Likewise.
* math/w_log10f_compat.c: Likewise.
* math/w_log10l_compat.c: Likewise.
* math/w_log2_compat.c: Likewise.
* math/w_log2f_compat.c: Likewise.
* math/w_log2l_compat.c: Likewise.
* math/w_log_compat.c: Likewise.
* math/w_logf_compat.c: Likewise.
* math/w_logl_compat.c: Likewise.
* sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
* sysdeps/aarch64/fpu/fesetround.c: Likewise.
* sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
* sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
* sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
* sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
* sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
* sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
* sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
* sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
* sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
* sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
* sysdeps/ieee754/float128/float128_private.h: 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/lgamma_negf.c: Likewise.
* sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
* sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
* sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
* sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
* sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
* sysdeps/ieee754/k_standardl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
* sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
* sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
* sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
* sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
* sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
* sysdeps/riscv/rvd/s_finite.c: Likewise.
* sysdeps/riscv/rvd/s_fmax.c: Likewise.
* sysdeps/riscv/rvd/s_fmin.c: Likewise.
* sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
* sysdeps/riscv/rvd/s_isinf.c: Likewise.
* sysdeps/riscv/rvd/s_isnan.c: Likewise.
* sysdeps/riscv/rvd/s_issignaling.c: Likewise.
* sysdeps/riscv/rvf/fegetround.c: Likewise.
* sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
* sysdeps/riscv/rvf/fesetenv.c: Likewise.
* sysdeps/riscv/rvf/fesetround.c: Likewise.
* sysdeps/riscv/rvf/feupdateenv.c: Likewise.
* sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
* sysdeps/riscv/rvf/ftestexcept.c: Likewise.
* sysdeps/riscv/rvf/s_ceilf.c: Likewise.
* sysdeps/riscv/rvf/s_finitef.c: Likewise.
* sysdeps/riscv/rvf/s_floorf.c: Likewise.
* sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
* sysdeps/riscv/rvf/s_fminf.c: Likewise.
* sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
* sysdeps/riscv/rvf/s_isinff.c: Likewise.
* sysdeps/riscv/rvf/s_isnanf.c: Likewise.
* sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
* sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
* sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
* sysdeps/riscv/rvf/s_roundf.c: Likewise.
* sysdeps/riscv/rvf/s_truncf.c: Likewise.
2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #20271]

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <stdbool.h>
#include <stdint.h>

View File

@ -26,6 +26,7 @@
#include <ieee754.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
/* Carry out a computation using round-to-odd. The computation is
EXPR; the union type in which to store the result is UNION and the

View File

@ -21,6 +21,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -21,6 +21,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -21,6 +21,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -21,6 +21,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -21,6 +21,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -20,6 +20,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <stdbool.h>
#include <fix-fp-int-compare-invalid.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -20,6 +20,7 @@
#include <errno.h>
#include <limits.h>
#include <math_private.h>
#include <fenv_private.h>
/* wrapper ilogb */
int

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -20,6 +20,7 @@
#include <errno.h>
#include <limits.h>
#include <math_private.h>
#include <fenv_private.h>
long int
M_DECL_FUNC (__llogb) (FLOAT x)

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-double.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-float.h>

View File

@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <libm-alias-ldouble.h>

View File

@ -18,6 +18,7 @@
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
int
__feholdexcept (fenv_t *envp)

View File

@ -18,6 +18,7 @@
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
#include <fpu_control.h>
int

View File

@ -18,6 +18,7 @@
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
int
fegetexceptflag (fexcept_t *flagp, int excepts)

View File

@ -18,6 +18,7 @@
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
int
fetestexcept (int excepts)

View File

@ -261,6 +261,4 @@ extern double __mpsin (double __x, double __dx, bool __range_reduce);
extern double __mpcos (double __x, double __dx, bool __range_reduce);
extern void __docos (double __x, double __dx, double __v[]);
#include <fenv_private.h>
#endif /* _MATH_PRIVATE_H_ */

View File

@ -46,6 +46,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <stap-probe.h>
#ifndef SECTION

View File

@ -39,6 +39,7 @@
#include "uexp.tbl"
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <fenv.h>
#include <float.h>
#include "eexp.tbl"

View File

@ -31,6 +31,7 @@
#include <inttypes.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include "t_exp2.h"

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -41,6 +41,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
static const double

View File

@ -38,6 +38,7 @@
#include "MathLib.h"
#include "upow.tbl"
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <fenv.h>

View File

@ -35,6 +35,7 @@
#include "MathLib.h"
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
/**************************************************************************/
/* An ultimate remainder routine. Given two IEEE double machine numbers x */

View File

@ -39,6 +39,7 @@
#include "root.tbl"
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
/*********************************************************************/
/* An ultimate sqrt routine. Given an IEEE double machine number x */

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <mul_split.h>
/* Compute the product of X + X_EPS, X + X_EPS + 1, ..., X + X_EPS + N

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
static const double lgamma_zeros[][2] =
{

View File

@ -46,6 +46,7 @@
#include <libm-alias-double.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <stap-probe.h>

View File

@ -23,6 +23,7 @@
#include <ieee754.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
#include <tininess.h>

View File

@ -22,6 +22,7 @@
#include <ieee754.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
/* This implementation relies on double being more than twice as

View File

@ -24,6 +24,7 @@
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -24,6 +24,7 @@
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -28,6 +28,7 @@ static char rcsid[] = "$NetBSD: s_rint.c,v 1.8 1995/05/10 20:48:04 jtc Exp $";
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
static const double

View File

@ -41,6 +41,7 @@
#include "MathLib.h"
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <libm-alias-double.h>
#include <fenv.h>

View File

@ -21,6 +21,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <libm-alias-double.h>

View File

@ -41,6 +41,7 @@
#include "MathLib.h"
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <libm-alias-double.h>
#include <fenv.h>

View File

@ -21,6 +21,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
/* For LP64, lround is an alias for llround. */

View File

@ -24,6 +24,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-double.h>
static const double

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <mul_split.h>
#include <stdlib.h>

View File

@ -29,6 +29,7 @@
/* Renames derived from math_private.h. */
#include <math_private.h>
#include <fenv_private.h>
#include <ieee754_float128.h>
#define ieee854_long_double_shape_type ieee854_float128_shape_type
#define ieee854_long_double ieee854_float128

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
static float ponef(float), qonef(float);

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
static const float

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
static const float lgamma_zeros[][2] =
{

View File

@ -24,6 +24,7 @@
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -24,6 +24,7 @@
#include <math-narrow-eval.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -19,6 +19,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-float.h>
static const float

View File

@ -33,6 +33,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-svid-compat.h>
#include <fenv.h>
#include <float.h>

View File

@ -66,6 +66,7 @@
#include <inttypes.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <stdlib.h>
#include "t_expl.h"

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -98,6 +98,7 @@
#include <errno.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -60,6 +60,7 @@
#include <float.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
static const _Float128

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <mul_splitl.h>
/* Compute the product of X + X_EPS, X + X_EPS + 1, ..., X + X_EPS + N

View File

@ -19,6 +19,7 @@
#include <float.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
static const _Float128 lgamma_zeros[][2] =
{

View File

@ -23,6 +23,7 @@
#include <ieee754.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
#include <tininess.h>

View File

@ -24,6 +24,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -23,6 +23,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -24,6 +24,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -23,6 +23,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
#include <fix-fp-int-convert-overflow.h>

View File

@ -27,6 +27,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <libm-alias-ldouble.h>
static const _Float128

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <mul_splitl.h>
#include <stdlib.h>

View File

@ -65,6 +65,7 @@
#include <fenv.h>
#include <inttypes.h>
#include <math_private.h>
#include <fenv_private.h>
#include "t_expl.h"

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -21,6 +21,7 @@
#include <errno.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

View File

@ -60,6 +60,7 @@
#include <float.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
static const long double

View File

@ -19,6 +19,7 @@
#include <float.h>
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
static const long double lgamma_zeros[][2] =
{

View File

@ -22,6 +22,7 @@
#include <math.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <math_ldbl_opt.h>
#include <mul_split.h>

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math_ldbl_opt.h>
#include <float.h>
#include <ieee754.h>

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math_ldbl_opt.h>
#include <float.h>
#include <ieee754.h>

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math_ldbl_opt.h>
#include <float.h>
#include <ieee754.h>

View File

@ -20,6 +20,7 @@
#include <math.h>
#include <fenv.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math_ldbl_opt.h>
#include <float.h>
#include <ieee754.h>

View File

@ -24,6 +24,7 @@
#include <fenv.h>
#include <math-barriers.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math_ldbl_opt.h>
#include <float.h>
#include <ieee754.h>

View File

@ -18,6 +18,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <mul_split.h>
#include <stdlib.h>

View File

@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_private.h>
#include <math-underflow.h>
#include <float.h>

Some files were not shown because too many files have changed in this diff Show More