possible bug in std.conv.parse

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 26 17:07:21 PDT 2014


On Sunday, 27 April 2014 at 00:01:21 UTC, Andrei Alexandrescu 
wrote:
> Oops. No bug. -- Andrei

Nah, sorry, that was my giant mistake, I didn't actually do the 
math before saying "check your math" and let my brain get 
confused into thinking 10000000 was 128, but it is actually -128 
in twos complement, the high bit is set so it is negative.


More information about the Digitalmars-d mailing list