[PATCH v2 2/2] Simplify powl computation for small integral y [BZ #33411]

Paul Zimmermann Paul.Zimmermann@inria.fr
Tue Oct 21 13:16:04 GMT 2025


       Hi Joseph,

> > It's odd to use what's essentially a legacy test here rather than putting
> > the new test input into auto-libm-test-in, given that testing for spurious
> > overflow is fully handled in the auto-libm-test machinery without needing
> > special-case C code for a particular test.

I tried the following change on top of 87e850f and make check subdirs=math
passes all tests. Are you sure spurious overflow is really handled?

Paul

--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -8372,6 +8372,9 @@ pow 0x1.059c76p+0 0x1.ff80bep+11
 pow 0x1.7ac7cp+5 23
 pow -0x1.7ac7cp+5 23
 
+# BZ33411
+pow 1.090748135619415929463e+2466 1.0
+
 pown 0 0
 pown 0 -0
 pown -0 0



More information about the Libc-alpha mailing list