fix `hash' for inf and nan
authorAndy Wingo <wingo@pobox.com>
Sun, 8 May 2011 14:05:27 +0000 (16:05 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 8 May 2011 14:07:10 +0000 (16:07 +0200)
commit10483f9e6491c8b96167a794115bb4829742f9a6
treebeda9aa7411547edf25f69d05ffb819f4cfb54da
parent2252321bb77fe83d98d5bcc9db1c76b914e9dd6a
fix `hash' for inf and nan

* libguile/hash.c (scm_hasher): Fix to work on inf and nan.
* test-suite/tests/hash.test ("hash"): Add tests.
libguile/hash.c
test-suite/tests/hash.test