Comment #1 by witold.baryluk+d — 2007-01-10T14:16:28Z
There is also another problem with HexFloat:
0x10f
Is this float (0x10)f, or double (0x10f)?
If, binary-exponent-part is really required, then spec is outdated, and there is no problem:
0x10p0f // float
0x10fp0 // double
"Hexadecimal floats are preceded with a 0x and the exponent is a p or P followed by a decimal number serving as the exponent of 2."
so lexer grammar should be:
HexFloat:
HexPrefix HexDigits . HexDigits HexExponent
HexPrefix . HexDigits HexExponent
HexPrefix HexDigits HexExponent
Comment #2 by bugzilla — 2007-02-02T21:42:15Z
The hex exponent is required. I'll fix the doc.
Comment #3 by bugzilla — 2007-02-12T03:36:02Z
Fixed DMD 1.005
Comment #4 by github-bugzilla — 2015-07-07T11:34:26Z