← Back to index
|
Original Bugzilla link
Bug 8021 – BigInt division bug
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-05-03T01:06:00Z
Last change time
2012-11-01T14:36:49Z
Assigned to
nobody
Creator
yuri.musashi.miwa.tamura
Comments
Comment #0
by yuri.musashi.miwa.tamura — 2012-05-03T01:06:48Z
In dmd 2.059, the program below won't terminate. import std.stdio, std.bigint; void main() { BigInt n = BigInt(2) / BigInt(0); }
Comment #1
by hsteoh — 2012-10-27T11:46:12Z
https://github.com/D-Programming-Language/phobos/pull/902
Comment #2
by github-bugzilla — 2012-11-01T14:35:37Z
Commit pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/c7a8dbefed01589ab4674b8014a1ab0389d324b3
Merge pull request #902 from quickfur/issue8021 Throw exception upon division by zero. (issue 8021)