]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Remove float_t and double_t [BZ #33563]
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Tue, 11 Nov 2025 17:46:19 +0000 (17:46 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 12 Nov 2025 19:33:23 +0000 (19:33 +0000)
commit989e538224de5eea508ceda6d273cb64df6cca56
tree42f9ec6b9c79d425ef9ea21ab3d89c24e85e29df
parent3b7bb7b2f27358f87019af11ef72fbf8e0a5e1f4
math: Remove float_t and double_t [BZ #33563]

Remove uses of float_t and double_t. This is not useful on modern machines,
and does not help given GCC defaults to -fexcess-precision=fast.
One use of double_t remains to allow forcing the precision to double
on targets where FLT_EVAL_METHOD=2. This fixes BZ #33563 on
i486-pc-linux-gnu.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16 files changed:
sysdeps/aarch64/fpu/math_private.h
sysdeps/aarch64/fpu/pow_sve.c
sysdeps/aarch64/fpu/powf_sve.c
sysdeps/ieee754/dbl-64/e_exp.c
sysdeps/ieee754/dbl-64/e_exp10.c
sysdeps/ieee754/dbl-64/e_exp2.c
sysdeps/ieee754/dbl-64/e_log.c
sysdeps/ieee754/dbl-64/e_log2.c
sysdeps/ieee754/dbl-64/e_pow.c
sysdeps/ieee754/dbl-64/math_config.h
sysdeps/ieee754/flt-32/e_exp2f.c
sysdeps/ieee754/flt-32/e_expf.c
sysdeps/ieee754/flt-32/e_log2f.c
sysdeps/ieee754/flt-32/e_logf.c
sysdeps/ieee754/flt-32/e_powf.c
sysdeps/ieee754/flt-32/math_config.h