[PATCH] benchtests: Add sinf traces

Wilco Dijkstra Wilco.Dijkstra@arm.com
Thu Apr 2 18:27:31 GMT 2026


Hi Adhemerval,

>> The actual binary values matter very little unless they hit cornercases that are
>> significantly slower. The range is never an issue, nobody ever does sin (DBL_MAX)!
>
> Right, but I now really following your point here. Are you saying a possible binary64
> traced rounded to binary32 from specpu2017 would *not* be a good benchmark?

The opposite - what I'm saying the low bits of the mantissa don't actually matter at
all since we're just computing a polynomial. What matters is the quadrant it falls into
and special cases like which range reducer, early exits like close to zero or corner cases
for rounding.

Cheers,
Wilco


More information about the Libc-alpha mailing list