]> git.eshelyaron.com Git - emacs.git/commit
Substitute a <ieee754.h> on hosts lacking it
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2018 01:53:31 +0000 (18:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2018 02:01:51 +0000 (19:01 -0700)
commitd216d7d248199aa6c99cd642116717c5b301ae6d
tree687b9efadbb87fa1095fb0a2e0569e625856e15a
parent2f37ecaefcc61b0bf389f1c1eb3ac1b15105f056
Substitute a <ieee754.h> on hosts lacking it

* .gitignore: Add lib/ieee754.h.
* admin/merge-gnulib (GNULIB_MODULES): Add ieee754-h.
* configure.ac: Remove ieee754.h check, as Gnulib now does that.
* etc/NEWS: Mention this.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/ieee754.in.h, m4/ieee754-h.m4: New files, from Gnulib.
* src/lisp.h (IEEE_FLOATING_POINT): Now a macro so that it
can be used in #if.
* src/lread.c, src/print.c: Include <ieee754.h> if
IEEE_FLOATING_POINT, not if HAVE_IEEE754_H.
* src/lread.c (string_to_number):
* src/print.c (float_to_string):
Process NaNs only on IEEE hosts, and assume <ieee754.h>
in that case.
.gitignore
admin/merge-gnulib
configure.ac
etc/NEWS
lib/gnulib.mk.in
lib/ieee754.in.h [new file with mode: 0644]
m4/gnulib-comp.m4
m4/ieee754-h.m4 [new file with mode: 0644]
src/lisp.h
src/lread.c
src/print.c