Summary: std.bigint problem with negative numbers
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from 2010-09-15 14:10:05 PDT ---
With dmd 2.049beta this asserts:

import std.bigint: BigInt;
void main() {
    assert(((BigInt(3) * BigInt(-2)) + (BigInt(-5) * BigInt(-1))) ==

I think in some situations BigInt(3)*BigInt(-2) == BigInt(6).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to