[PATCH v2 2/2] Simplify powl computation for small integral y [BZ #33411]
Joseph Myers
josmyers@redhat.com
Tue Oct 21 13:05:21 GMT 2025
On Tue, 21 Oct 2025, Siddhesh Poyarekar wrote:
> On 2025-10-21 08:45, Joseph Myers wrote:
> > On Tue, 21 Oct 2025, Siddhesh Poyarekar wrote:
> >
> > > diff --git a/math/test-powl.c b/math/test-powl.c
> >
> > 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.
>
> Oh I chose this because auto-libm-test-in doesn't seem to have any powl
> inputs. It does get tested indirectly through pown and friends though; would
> you suggest I add it as a test for pown or should I add it for powl?
All entries in auto-libm-test-in list the base name of the function, so
"pow" covers pow, powf, powl, powf32, powf64, powf128, powf32x and
powf64x. See the comment at the top of gen-auto-libm-tests.c for details
of the format.
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list