bigint

Ellery Newcomer ellery-newcomer at utulsa.edu
Fri Nov 26 21:26:01 PST 2010


why does the following code fail?


import std.bigint;
void main(){
     BigInt b1 = 1;
     BigInt b2 = 3;
     BigInt e1 = 1;
     BigInt e2 = 3;
     BigInt[] b = [b1,b2];
     BigInt[] e = [e1,e2];
     assert(b == e);
}


More information about the Digitalmars-d-learn mailing list