Teach relerr to return 0 if eqv or 1 if not for zero or inf.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 20 Nov 2018 09:15:20 +0000 (09:15 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 20 Nov 2018 09:15:31 +0000 (09:15 +0000)
commit2bb89971ed16c767615fb2efee48e8df1de824aa
tree673facc13ec42050ee5983d9b9a14932ad62d4fc
parentc3e19280e15b90de9e31a17049a27c57c73d357b
Teach relerr to return 0 if eqv or 1 if not for zero or inf.

This way we confirm infinite results and the sign of zero.

Fix up some test cases that this broke.
tests/runtime/test-arith.scm