Use fabs(3) for C implementation of FLONUM-ABS.
authorTaylor R Campbell <campbell@mumble.net>
Thu, 29 Nov 2018 02:05:51 +0000 (02:05 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Fri, 30 Nov 2018 06:53:15 +0000 (06:53 +0000)
commit0fcc5f55142d7de7d4af8a1027264e31576673a7
tree308adb6324d76d643c26b6f5830d082615e82121
parente5decff5ed30bb7af1297a42569a481676044d86
Use fabs(3) for C implementation of FLONUM-ABS.

A conditional based on < doesn't handle NaN correctly.
src/microcode/flonum.c
src/relnotes/bug-floabs [new file with mode: 0644]
tests/runtime/test-flonum.scm