[Issue 18290] std.conv.parse throws ConvOverflowException for negative values in hex
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 16 16:16:00 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=18290
--- Comment #7 from berni44 <bugzilla at d-ecke.de> ---
(In reply to Răzvan Ștefănescu from comment #6)
> As long as to!string(int.min, 16) returns "80000000", I expect that
> parse!int("80000000", 16) to return int.min.
Looks like an other bug.
> In conclusion, please keep my original issue as is, if you want negative hex
> numbers, open another issue, don't adjust that one.
OK. But IMHO it's invalid and should be closed then.
--
More information about the Digitalmars-d-bugs
mailing list