[Issue 7013] Mutable interface for BigInts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 9 08:59:05 PDT 2013


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


hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx


--- Comment #1 from hsteoh at quickfur.ath.cx 2013-07-09 08:59:04 PDT ---
In latest git HEAD, the following works:

import std.bigint;
void main() {
        BigInt x = 123;
        BigInt y = 321;
        x += y;
        assert(x == 444);
}

Not sure what's happening under the hood, though. Is it making internal
allocations?

-- 
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