http://d.puremagic.com/issues/show_bug.cgi?id=4470
Don changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
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
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
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)
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 {}