This is an archive of the discontinued LLVM Phabricator instance.

[libc] Change sinf/cosf range reduction to mod pi/32 to be shared with tanf.
ClosedPublic

Authored by lntue on Aug 10 2022, 11:29 PM.

Details

Summary

Change sinf/cosf range reduction to mod pi/32 to be shared with tanf,
since polynomial approximations for tanf on subintervals of length pi/16 do not
provide enough accuracy.

Diff Detail

Event Timeline

lntue created this revision.Aug 10 2022, 11:29 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 10 2022, 11:29 PM
lntue requested review of this revision.Aug 10 2022, 11:29 PM
orex accepted this revision.Aug 11 2022, 1:39 AM
This revision is now accepted and ready to land.Aug 11 2022, 1:39 AM
lntue updated this revision to Diff 451834.Aug 11 2022, 6:40 AM

Small fixes for comments.

This revision was landed with ongoing or failed builds.Aug 11 2022, 6:41 AM
This revision was automatically updated to reflect the committed changes.