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

Siddhesh Poyarekar siddhesh@sourceware.org
Tue Oct 21 15:40:44 GMT 2025


On 2025-10-21 11:11, Paul Zimmermann wrote:
> testing float (without inline functions)
> Failure: pow_upward (0xf.fffffp+124, 0x1p+0): Exception "Overflow" set
> Failure: pow_upward (0xf.fffffp+124, 0x1p+0): errno set to 34, expected 0 (unchanged)
> Failure: Test: pow_upward (0xf.fffffp+124, 0x1p+0)
> Result:
>   is:          inf   inf
>   should be:   3.40282347e+38   0x1.fffffep+127

That's float/_Float32 AFAICT.

> thus if Siddhesh uses the auto-libm-test-in way, he will have to fix also
> the pow issue, unless you know how to fix it?

I don't want to, but I'll take a look :)

Sid


More information about the Libc-alpha mailing list