domain of inf?, finite?, nan? is the real numbers
authorAndy Wingo <wingo@pobox.com>
Wed, 26 Jan 2011 09:34:55 +0000 (04:34 -0500)
committerAndy Wingo <wingo@pobox.com>
Fri, 28 Jan 2011 12:43:37 +0000 (13:43 +0100)
commit10391e06e05a39c5f71510f0ecd1c9636298f93e
tree421217d586d4c124aa7a37f16fd786d1708e68ec
parenta4955a04120a7e688f094697d4a2df4094818fbd
domain of inf?, finite?, nan? is the real numbers

* libguile/numbers.c (scm_inf_p, scm_finite_p, scm_nan_p): The domain of
  these functions is the real numbers.  Error on other input.

* doc/ref/api-data.texi (Reals and Rationals): Update the documentation
  accordingly.

* test-suite/tests/numbers.test ("finite?", "inf?"): Update tests.
doc/ref/api-data.texi
libguile/numbers.c
test-suite/tests/numbers.test