Pretty numbers (like 1`000`000)
Let allow to use pretty numbers in code.
Pattern looks like Digit_1 = d
Inner_digit = d|`
Many_digits = Digit_1(Inner_digit)*Digit_1
Digits = Digit_1|Many_digits
This numbers must be valid (and may be add to class Read):
{{{
100000
000000
000000 10
000000.000
00005 0xFFFF
FFFFFFFF
FFFF
10000e1
005
and this:
1000
000
000
0000``0
000 but not this:
1000```
}}}
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Type checker) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |