[Bug math/33563] powf() fails for 0x1p+8192 ^ 1.0

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Tue Oct 21 16:45:54 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33563

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
The value that actually overflow are powf (0xf.fffffp+124, 0x1p+0) (not
0x1p+8192, which is not representable in binary32).  From the
math/auto-libm-test-out-pow generated using the input value:

+= pow downward binary32 0xf.fffffp+124 0x1p+0 : 0xf.fffffp+124 : inexact-ok
+= pow tonearest binary32 0xf.fffffp+124 0x1p+0 : 0xf.fffffp+124 : inexact-ok
+= pow towardzero binary32 0xf.fffffp+124 0x1p+0 : 0xf.fffffp+124 : inexact-ok
+= pow upward binary32 0xf.fffffp+124 0x1p+0 : 0xf.fffffp+124 : inexact-ok

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list