]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Optimize fma call on log2pf1
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 10 Oct 2025 12:52:35 +0000 (09:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 14 Oct 2025 14:12:00 +0000 (11:12 -0300)
commitae49afe74d778de67d2da85c05fe39301f73c1a7
treef8255ed9b9bb4c5df4dce80298d0e3adfb683b4f
parent82a4f50b4e53df728430a9fe8d5939f57038db16
math: Optimize fma call on log2pf1

The fma is required only for x == -0x1.da285cp-5 in FE_TONEAREST
to provide correctly rounded results.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
math/auto-libm-test-in
math/auto-libm-test-out-log2p1
sysdeps/ieee754/flt-32/s_log2p1f.c