This is an archive of the discontinued LLVM Phabricator instance.

[libc] Improve performance of generic hypot when the exponent difference is sufficiently large.
ClosedPublic

Authored by lntue on Feb 15 2022, 7:08 AM.

Details

Summary

Simplify the logic when the exponent difference is at least MantissaLength + 2, while still maintaining correct rounding for all rounding modes.

Diff Detail

Event Timeline

lntue created this revision.Feb 15 2022, 7:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2022, 7:08 AM
lntue requested review of this revision.Feb 15 2022, 7:08 AM
sivachandra accepted this revision.Feb 15 2022, 8:56 AM
This revision is now accepted and ready to land.Feb 15 2022, 8:56 AM