Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for floating point exceptions #47930

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
typo
  • Loading branch information
simonbyrne committed Dec 20, 2022
commit 2a810dcf667f2b9d07700b002193e51bbdab7ed1
2 changes: 1 addition & 1 deletion base/rounding.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ get_zero_subnormals() = ccall(:jl_get_zero_subnormals,Int32,())!=0


function _get_exceptions()
excepts = ccall(:jl_set_fenv_except,Cint,())
excepts = ccall(:jl_get_fenv_except,Cint,())
if excepts < 0
error("Floating point exceptions not supported on this platform")
end
Expand Down