[phobos] [D-Programming-Language/phobos] 47c7ad: Throw error upon division by zero.

GitHub noreply at github.com
Thu Nov 1 14:35:33 PDT 2012


  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 at 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 at 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


More information about the phobos mailing list