]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Fix powf special case [BZ #33563]
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 24 Oct 2025 14:26:50 +0000 (14:26 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 31 Oct 2025 19:12:47 +0000 (19:12 +0000)
commit8917bd3eb331c54477da8a59fc8a009f47477237
treee27b51d4d3361cf9d2e5266f1d99f9bfb1ac533a
parent7d99ff550f5707158309835b0560e61d536d2f1b
math: Fix powf special case [BZ #33563]

Fix powf (0x1.fffffep+127, 1.0f) to return 0x1.fffffep+127 when
rouding upwards.  Cleanup the special case code - performance
improves by ~1.2%.  This fixes BZ #33563.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/ieee754/flt-32/e_powf.c