flfinite? applied to a NaN returns false.
authorMark H Weaver <mhw@netris.org>
Tue, 16 Jul 2013 07:42:52 +0000 (03:42 -0400)
committerMark H Weaver <mhw@netris.org>
Tue, 16 Jul 2013 07:59:14 +0000 (03:59 -0400)
commit85b32d43e63bd2939ce3706f44a50f153ba01a46
treeca4b8a06b4d348a35789b710bb18edd38d7d6638
parentff5568389c037f7c7b5dff9505c69e7f586f95aa
flfinite? applied to a NaN returns false.

Fixes <http://bugs.gnu.org/14868>.
Reported by Göran Weinholt <goran@weinholt.se>.

* module/rnrs/arithmetic/flonums.scm (flfinite?): If the argument is a
  NaN, return false.

* test-suite/tests/r6rs-arithmetic-flonums.test (flfinite?): Add test.
module/rnrs/arithmetic/flonums.scm
test-suite/tests/r6rs-arithmetic-flonums.test