Re: D2 phobos BigInt bug

2009-02-06 Thread Andrei Alexandrescu
Don wrote: dsimcha wrote: == Quote from ZHOU Zhenyu (rin...@goozo.net)'s article 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 10

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

Re: D2 phobos BigInt bug

2009-02-06 Thread Don
dsimcha wrote: == Quote from ZHOU Zhenyu (rin...@goozo.net)'s article 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 1000

Re: D2 phobos BigInt bug

2009-02-05 Thread dsimcha
== Quote from ZHOU Zhenyu (rin...@goozo.net)'s article > 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 > 10