What is the postfix for min long value?

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 6 08:50:16 PDT 2015


On Tuesday 06 October 2015 17:39, Ali Çehreli wrote:

> I would expect the following to work:
> 
>      writeln( -9_223_372_036_854_775_808L);
> 
> But it doesn't compile:
> 
>    Error: signed integer overflow
> 
> It looks like a compiler bug to me. If so, a very embarrassing one. :)

https://issues.dlang.org/show_bug.cgi?id=8929


More information about the Digitalmars-d-learn mailing list