[Issue 4300] New: BigInt * int doesn't work well

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 10 04:43:25 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4300

           Summary: BigInt * int doesn't work well
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2010-06-10 04:43:23 PDT ---
This D2 program asserts with v2.047beta:

import std.bigint: BigInt;
void main() {
    BigInt r = 10;
    r = r * 2;
    assert(r == BigInt(20));
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list