This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] fix constants not marked constexpr
ClosedPublic

Authored by michaelrj on Jun 8 2023, 4:40 PM.

Details

Summary

The constants in the ryu constant tables were not marked constexpr,
only static const. This caused problems when compiling with GCC.

Diff Detail

Event Timeline

michaelrj created this revision.Jun 8 2023, 4:40 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 8 2023, 4:40 PM
michaelrj requested review of this revision.Jun 8 2023, 4:40 PM

Noting for anyone looking after the fact: The changes to the long double table are identical to the ones made to the smaller table.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2023, 4:43 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.