• Paul Eggert's avatar
    Substitute a <ieee754.h> on hosts lacking it · d216d7d2
    Paul Eggert authored
    * .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.
    d216d7d2
.gitignore 4.77 KB