Omit unnecessary case for logistic. Add a test for this case.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 27 Oct 2018 00:03:42 +0000 (00:03 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 27 Oct 2018 00:03:49 +0000 (00:03 +0000)
commitf8eb94affe1c4a1cb83315b4e134701a5ffa077e
treeadc3fe391fce79b21bd9df62dab2915960ef3923
parent5e74bce403bc8fe8f8afa24f5ba90ff147de699a
Omit unnecessary case for logistic.  Add a test for this case.

The relative error is small in naive evaluation of 1/(1 + e^{-x})
even if x is very negative.
src/runtime/arith.scm
tests/runtime/test-arith.scm