• Paul Eggert's avatar
    Handle weird cases like (ceil 0 0.0) · 8b848def
    Paul Eggert authored
    * src/floatfns.c (double_integer_scale): Distinguish Inf from NaN.
    (rounding_driver): Handle (ceil 0 0.0) and (ceil 0 1.0e+INF).
    * test/src/floatfns-tests.el (special-round): Add tests for
    weird cases like this.
    
    Avoid crash with (floor 0 0.0)
    * src/floatfns.c (rounding_driver): Signal an arithmetic
    error if divisor is 0.0 or -0.0, instead of crashing.
    8b848def
Name
Last commit
Last update
..
data Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
manual Loading commit data...
src Loading commit data...
ChangeLog.1 Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
file-organization.org Loading commit data...