This is an archive of the discontinued LLVM Phabricator instance.

[libc][nfc] update get_explicit_mantissa
ClosedPublic

Authored by michaelrj on Jul 6 2022, 4:56 PM.

Details

Summary

The get_explicit_mantissa function returns the mantissa of an FPBits
floating point value with the implicit leading 1, if appropriate. This
function existed previously, but did not handle non-normal numbers
properly.

Diff Detail

Event Timeline

michaelrj created this revision.Jul 6 2022, 4:56 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 6 2022, 4:56 PM
michaelrj requested review of this revision.Jul 6 2022, 4:56 PM
lntue accepted this revision.Jul 7 2022, 7:04 AM
This revision is now accepted and ready to land.Jul 7 2022, 7:04 AM
This revision was automatically updated to reflect the committed changes.