If enabling fp traps for first time, clear sticky exceptions.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 26 Aug 2019 03:14:22 +0000 (03:14 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 26 Aug 2019 03:22:44 +0000 (03:22 +0000)
commit5e3de39d43d7b9736a5583073112e237a5da00a9
tree96d2720c96f2912824a733c1003a1aab6b68648b
parent426d2385edb35c216d16554b7deba805c0f0c2e1
If enabling fp traps for first time, clear sticky exceptions.

Otherwise, the indeterminate state of the sticky exceptions --
possibly from another thread -- may cause the machine to trap merely
by enabling traps.

Also, don't bother marking the floating-point environment in use when
disabling traps.
src/runtime/floenv.scm