November 01, 2012 [phobos] [D-Programming-Language/phobos] 47c7ad: Throw error upon division by zero. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 47c7ade97e4026a66119537b27dedfaee4da7098 https://github.com/D-Programming-Language/phobos/commit/47c7ade97e4026a66119537b27dedfaee4da7098 Author: H. S. Teoh <hsteoh@quickfur.ath.cx> Date: 2012-10-28 (Sun, 28 Oct 2012) Changed paths: M std/bigint.d Log Message: ----------- Throw error upon division by zero. Instead of trying to trigger an integer divide by zero, which seems to get "optimized" out by the compiler. Commit: c7a8dbefed01589ab4674b8014a1ab0389d324b3 https://github.com/D-Programming-Language/phobos/commit/c7a8dbefed01589ab4674b8014a1ab0389d324b3 Author: Alex Rønne Petersen <alex@lycus.org> Date: 2012-11-01 (Thu, 01 Nov 2012) Changed paths: M std/bigint.d Log Message: ----------- Merge pull request #902 from quickfur/issue8021 Throw exception upon division by zero. (issue 8021) Compare: https://github.com/D-Programming-Language/phobos/compare/ec98d0f01f78...c7a8dbefed01 |
Copyright © 1999-2021 by the D Language Foundation