diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-11 11:30:48 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-11 11:34:44 -0700 |
commit | 038a09041af20ed373b15715fbc859d4a305dda8 (patch) | |
tree | bad4ad02fbf3f18637563b29dbe49eecff319bdb /src/floatfns.c | |
parent | fa3785ea5fd73eaba84b8e3b8f988dd53f3a4148 (diff) | |
download | emacs-038a09041af20ed373b15715fbc859d4a305dda8.tar.gz emacs-038a09041af20ed373b15715fbc859d4a305dda8.tar.bz2 emacs-038a09041af20ed373b15715fbc859d4a305dda8.zip |
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.
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions