This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Benchtests for sinf, cosf and sincosf
On Wednesday 11 October 2017 06:35 PM, Joseph Myers wrote:
> I don't think that's appropriate for sharing between different types. The
> inputs for sin include many outside the range of float (which probably
> illustrates how unrepresentative they are of typical usage of sin), and we
> don't want the float test to have lots of infinities tested.
OK, as for larger values, they were there to exercise the range
reduction paths, which can be done by smaller values as well so we could
just drop those inputs.
> Sharing inputs between sinf, cosf and sincosf may make much more sense.
Agreed.
Siddhesh