Use Gnulib's `isnan' and `isinf' modules.
authorLudovic Courtès <ludo@gnu.org>
Tue, 7 Sep 2010 22:34:27 +0000 (00:34 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 7 Sep 2010 22:34:27 +0000 (00:34 +0200)
commit2e65b52f8a2e5f82ddc8da471d989f14468f8b90
treec7d6b3a20e87029b46137e6a9bb80642edd3be1c
parent18f2d5aa4dfe66469d4b109e5b56b931a057a3e0
Use Gnulib's `isnan' and `isinf' modules.

This updates Gnulib to v0.0-4219-g84cdd8b.

* m4/gnulib-cache.m4: Add `isinf' and `isnan'.

* configure.ac: Remove checks for `floatingpoint.h', `ieeefp.h', and
  `nan.h'.

* libguile/gen-scmconfig.c (main): Remove definitions of
  `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', and
  `SCM_HAVE_NAN_H'.

* libguile/numbers.c (isnan)[SCO && !HAVE_ISNAN]: Remove.
  (isinf)[SCO && !HAVE_ISINF]: Remove.
  (xisinf, xisnan): Remove.  Change callers to use `isinf' and `isnan'.
  (guile_ieee_init): Remove the `defined HAVE_ISINF' and `define
  HAVE_ISNAN' conditions.

* libguile/numbers.h: Remove code conditional on
  `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', or `SCM_HAVE_NAN_H'.
24 files changed:
configure.ac
lib/Makefile.am
lib/isinf.c [new file with mode: 0644]
lib/isnan.c [new file with mode: 0644]
lib/isnand.c [new file with mode: 0644]
lib/isnanf.c [new file with mode: 0644]
lib/isnanl.c [new file with mode: 0644]
lib/math.in.h [new file with mode: 0644]
libguile/gen-scmconfig.c
libguile/numbers.c
libguile/numbers.h
m4/check-math-lib.m4 [new file with mode: 0644]
m4/exponentd.m4 [new file with mode: 0644]
m4/exponentf.m4 [new file with mode: 0644]
m4/exponentl.m4 [new file with mode: 0644]
m4/gnulib-cache.m4
m4/gnulib-comp.m4
m4/isinf.m4 [new file with mode: 0644]
m4/isnan.m4 [new file with mode: 0644]
m4/isnand.m4 [new file with mode: 0644]
m4/isnanf.m4 [new file with mode: 0644]
m4/isnanl.m4 [new file with mode: 0644]
m4/math_h.m4 [new file with mode: 0644]
maint.mk