Skip to content

Commit

Permalink
some functions signal floating point exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
byulparan committed Feb 4, 2018
1 parent 0e3da28 commit 9c3a9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/examples.lisp
Expand Up @@ -15,7 +15,7 @@
For non SBCL this wraps body in a progn."
`(trivial-main-thread:call-in-main-thread
(lambda ()
#+sbcl (sb-int:with-float-traps-masked (:invalid :divide-by-zero)
#+sbcl (sb-int:with-float-traps-masked (:invalid :divide-by-zero :overflow)
,@body)
#+ccl (unwind-protect (progn
(ccl:set-fpu-mode :invalid nil)
Expand Down

0 comments on commit 9c3a9c0

Please sign in to comment.