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

Siddhesh Poyarekar siddhesh@sourceware.org
Tue Oct 21 16:02:55 GMT 2025


On 2025-10-21 11:52, Adhemerval Zanella Netto wrote:
> 
> 
> On 21/10/25 12:40, Siddhesh Poyarekar wrote:
>> 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 :)
> 
> I think we can open a bug report and add a XFAIL for now.
> 

OK that's a good idea.  I'll clone a bug and leave it for someone else 
to fix.  It looks like a good little exercise for someone looking to dip 
their toes in the math code, since it looks like it should be mostly just C.

Sid


More information about the Libc-alpha mailing list