simon-git: spigot (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Thu Jan 8 23:32:59 GMT 2015
TL;DR:
4223a43 Fix assertion failure on log(0).
Repository: git://git.tartarus.org/simon/spigot.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-01-08 23:32:59
commit 4223a43ab60aa9d0c13d707258a5ed2bd87a7c7d
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=4223a43ab60aa9d0c13d707258a5ed2bd87a7c7d;hp=21d22023bc37fd7cc53ebaf3cdbaaafc9018fb2d
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Jan 8 23:30:36 2015 +0000
Fix assertion failure on log(0).
Given a rational zero to take the log of, we subject it to an
assertion-failing spigot_mobius() before getting as far as the
exception-throwing code. Do a check for rationals to report an obvious
input zero _before_ trying to divide by it.
exp.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
More information about the tartarus-commits
mailing list