[Issue 18290] New: std.conv.parse throws ConvOverflowException for negative values in hex
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 24 00:00:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18290
Issue ID: 18290
Summary: std.conv.parse throws ConvOverflowException for
negative values in hex
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: rumbu at rumbu.ro
string input = "80000000";
auto x = parse!int(input, 16);
//ConvOverflowException
--
More information about the Digitalmars-d-bugs
mailing list