]> git.eshelyaron.com Git - emacs.git/commit
Simplify by assuming C99 math.h isnan etc.
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>
Wed, 1 Aug 2018 06:46:57 +0000 (23:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Aug 2018 06:48:56 +0000 (23:48 -0700)
commite28a37438d4ba71cd8a053e956686ab29ff97b6a
tree77c7f4cb879dd8da7925531209222e96834dd711
parent1804fece02691798394c9e9bd519cd4a53776018
Simplify by assuming C99 math.h isnan etc.

These should be portable nowadays.
* src/data.c (isnan): Remove.
* src/floatfns.c (isfinite, isnan): Remove.
* src/print.c: Include math.h, for isinf and isnan.
(float_to_string): Simplify by using them.
src/data.c
src/floatfns.c
src/print.c