Simple-minded criterion to compute x^-y by 1/x^y was too simple.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 27 Oct 2018 00:23:12 +0000 (00:23 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 27 Oct 2018 00:28:37 +0000 (00:28 +0000)
commitecf3e6cb79574d90c0c4a89fd398e513bed9e943
tree59f153ab95ed074b7f52ef9713bb9a39fa3aaa21
parentf8eb94affe1c4a1cb83315b4e134701a5ffa077e
Simple-minded criterion to compute x^-y by 1/x^y was too simple.

For any |x| > 1, we can't do this without comparing the size of
log(x) and y well enough to discern what might yield subnormal, so
might as well just compute the general case then.
src/runtime/arith.scm
tests/runtime/test-arith.scm