[Issue 4470] Problems with std.bigint mod and divide

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4470 Don changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4470] Problems with std.bigint mod and divide

2010-07-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4470 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #4 from Don 2

[Issue 4470] Problems with std.bigint mod and divide

2010-07-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4470 --- Comment #3 from yebblies 2010-07-16 05:02:11 PDT --- This seems to crash with every power of two, int or BigInt. import std.bigint; void main() { foreach(a; 0..1000) { foreach(b; 0..1000) { try

[Issue 4470] Problems with std.bigint mod and divide

2010-07-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4470 --- Comment #2 from yebblies 2010-07-16 04:53:41 PDT --- My bad! That should be: unittest { try { scope(success) assert(0); auto r1 = BigInt(6) % BigInt(0); } catch {} try { scope(success) assert(0)

[Issue 4470] Problems with std.bigint mod and divide

2010-07-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4470 --- Comment #1 from yebblies 2010-07-16 04:49:08 PDT --- The following tests should succeed when this issue has been fixed: unittest { try { scope(success) assert(0); auto r1 = BigInt(6) % BigInt(0); } catch {}