Re: D2 phobos BigInt bug

2009-02-06 Thread Simen Kjaeraas

Don wrote:

I don't think that will ever get fixed (unless you make a patch  
yourself). Phobos BigInt was created by Janice, and she seems to have  
completely disappeared. I'm working on Tango BigInt, which is completely  
independent, and will replace Phobos BigInt eventually. ( == as soon as  
we get a common namespace to put it into). I don't think anyone is  
interested in debugging Phobos BigInt.


Should still be bugzilla'd, so people know it's broken atm, and get notified 
when it's working.

--
Simen


D2 phobos BigInt bug

2009-02-05 Thread ZHOU Zhenyu
BigInt b = 10;
foreach( i; 1..20 ){
b*=10;
writeln(b*b);
}

system: Windows
CPU: Intel Core2 Duo T7250 2.00GHz
result:
1
100
1
100
1
100
81553255926290448384
100
1
100
1
100
1
100
1
9981553255926290448384
1
9981553255926290448384
1