[Issue 13469] New: x^^y wrong result
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Sep 13 12:24:45 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13469
Issue ID: 13469
Summary: x^^y wrong result
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: ilyayaroshenko at gmail.com
import std.math;
static assert(1.7^^1000 == 1.7.pow(1000));//OK
void main() {
assert(1.7^^1000 == 1.7.pow(1000)); //Assertion failure
}
//std.math.pow is correct! x^^y - wrong
--
More information about the Digitalmars-d-bugs
mailing list