This is an archive of the discontinued LLVM Phabricator instance.

[libc++] "Implements" new SI prefixis.
ClosedPublic

Authored by Mordante on Jun 17 2023, 6:53 AM.

Details

Reviewers
philnik
Group Reviewers
Restricted Project
Commits
rGf805c799bfce: [libc++] "Implements" new SI prefixis.
Summary

Like yocto, zepto, zetta, and yotta. The new prefixes quecto, ronto,
ronna, and quetta can't be implemented in a intmax_t. So their
implementation does nothing.

Implements

  • P2734R0 Adding the new SI prefixes

Depends on D153192

Diff Detail

Event Timeline

Mordante created this revision.Jun 17 2023, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2023, 6:53 AM
Herald added a subscriber: arichardson. · View Herald Transcript
Mordante requested review of this revision.Jun 17 2023, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2023, 6:53 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante updated this revision to Diff 532400.Jun 17 2023, 6:56 AM

Adds updated generated files.

philnik accepted this revision.Jun 18 2023, 3:52 PM
philnik added a subscriber: philnik.
philnik added inline comments.
libcxx/include/ratio
43

Otherwise this is really confusing.

This revision is now accepted and ready to land.Jun 18 2023, 3:52 PM
h-vetinari added inline comments.
libcxx/include/ratio
65
Mordante marked 2 inline comments as done.Jun 19 2023, 8:04 AM
This revision was automatically updated to reflect the committed changes.