N3781: Single-Quotation-Mark as a Digit Separator -- L Crowl, R Smith, J Snyder, D Vandevoorde

Note: This paper was adopted on Saturday at the Chicago meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3781

Date: 2013-09-25

Single-Quotation-Mark as a Digit Separator

by Lawrence Crowl, Richard Smith, Jeff Snyder, Daveed Vandevoorde

Excerpt:

This paper describes wording changes to implement the use of a single quote (‘) as a digit
separator. It is very similar to the wording changes proposed in N3448, but includes some small
corrections and an addition to Appendix C.

...

[Example: ... The literals 10485761'048'576, 0X100000, 0x10'0000, and 0'004'000'000 all have the same value. — end example] ...

[Example: The literals 1.602'176'565e-19 and 1.602176565e-19 have the same value. — end example]

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.