http://d.puremagic.com/issues/show_bug.cgi?id=4470
Summary: Problems with std.bigint mod and divide Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: yebbl...@gmail.com --- Comment #0 from yebblies <yebbl...@gmail.com> 2010-07-16 04:35:08 PDT --- With the version of std.bigint packaged with dmd2.047 (on winxp / x86) 1. You get 'object.Error: Win32 Exception' when attempting any BigInt % BigInt(1) or BigInt % 1. Test case: import std.bigint; void main() { auto r1 = BigInt(6) % 1; auto r2 = BigInt(6) % BigInt(1); } 2. BigInt % BigInt(0) seems to go into an infinite loop import std.bigint; void main() { auto r = BigInt(6) % BigInt(0); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------