ImportC octal literals: difference between GCC and dmd

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sat Nov 27 09:53:34 UTC 2021


On Saturday, 27 November 2021 at 03:26:45 UTC, bachmeier wrote:
> Putting this here rather than learn because I'm not sure if 
> it's a bug. The code at the bottom compiles fine with

The grammar for C specifies that a floating point constant can 
start with a *digit-sequence*. So "00000.0" is the same as ".0".

(bug)



More information about the Digitalmars-d mailing list