glibc/sysdeps/ieee754/flt-32
H.J. Lu d3e4f5a101 s_sincosf.h: Change pio4 type to float [BZ #28713]
s_cosf.c and s_sinf.c have

  if (abstop12 (y) < abstop12 (pio4))

where abstop12 takes a float argument, but pio4 is static const double.
pio4 is used only in calls to abstop12 and never in arithmetic.  Apply

-static const double pio4 = 0x1.921FB54442D18p-1;
+static const float pio4 = 0x1.921FB6p-1f;

to fix:

FAIL: math/test-float-cos
FAIL: math/test-float-sin
FAIL: math/test-float-sincos
FAIL: math/test-float32-cos
FAIL: math/test-float32-sin
FAIL: math/test-float32-sincos

when compiling with GCC 12.

Reviewed-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
2021-12-21 08:56:12 -08:00
..
e_acosf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acoshf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2f.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanhf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp2f_data.c
e_exp2f.c
e_exp10f.c
e_expf.c
e_fmodf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_gammaf_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_hypotf.c math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
e_ilogbf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_j0f.c Fixed inaccuracy of j0f (BZ #28185) 2021-10-05 13:45:37 +02:00
e_j1f.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_jnf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_lgammaf_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2f_data.c
e_log2f.c
e_log10f.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_logf_data.c
e_logf.c
e_powf_log2_data.c
e_powf.c
e_remainderf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinhf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sqrtf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
k_tanf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
lgamma_negf.c
lgamma_productf.c
math_config.h math: Simplify hypotf implementation 2021-12-13 09:02:30 -03:00
math_errf.c
mpn2flt.c
reduce_aux.h
s_asinhf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrtf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ceilf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_copysignf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cosf.c
s_erff.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_expm1f.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fabsf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_finitef.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_floorf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fpclassifyf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_frexpf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fromfpf_main.c
s_fromfpf.c
s_fromfpxf.c
s_getpayloadf.c
s_isinff.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_isnanf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_issignalingf.c
s_llrintf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_llroundf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1pf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logbf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_lrintf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_lroundf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_modff.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextafterf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextupf.c
s_remquof.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rintf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_roundevenf.c Use GCC builtins for roundeven functions if desired. 2021-06-27 07:56:57 -07:00
s_roundf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalblnf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_setpayloadf_main.c
s_setpayloadf.c
s_setpayloadsigf.c
s_signbitf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_sincosf_data.c
s_sincosf.c
s_sincosf.h s_sincosf.h: Change pio4 type to float [BZ #28713] 2021-12-21 08:56:12 -08:00
s_sinf.c
s_tanf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_totalorderf.c
s_totalordermagf.c
s_truncf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_ufromfpf.c
s_ufromfpxf.c
sincosf_poly.h
w_exp2f.c
w_expf.c
w_hypotf.c math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
w_log2f.c
w_logf.c
w_powf.c