]> git.eshelyaron.com Git - emacs.git/commit
Fix (round 1e+INF) core dump
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 18:30:48 +0000 (11:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 18:34:44 +0000 (11:34 -0700)
commit038a09041af20ed373b15715fbc859d4a305dda8
treebad4ad02fbf3f18637563b29dbe49eecff319bdb
parentfa3785ea5fd73eaba84b8e3b8f988dd53f3a4148
Fix (round 1e+INF) core dump

* src/bignum.c (double_to_integer): Signal an error
if D cannot be converted, instead of dumping core.
* test/src/floatfns-tests.el (special-round): New test.
src/bignum.c
test/src/floatfns-tests.el