We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently in the :accurate directed rounding mode, we round the results of operations outward by adding or subtracting 1 ulp.
:accurate
However, different functions at different precisions may have different numbers of ulps that they differ by if they are not correctly rounded.
We should take account of this using a function called e.g. ulp:
ulp
ulp(::typeof(sin), x::Float64) = 1 ulp(::typeof(tan), x::Float32) = 2
and call this function to determine how many ulps to round outwards by.
The text was updated successfully, but these errors were encountered:
setrounding
No branches or pull requests
Currently in the
:accurate
directed rounding mode, we round the results of operations outward by adding or subtracting 1 ulp.However, different functions at different precisions may have different numbers of ulps that they differ by if they are not correctly rounded.
We should take account of this using a function called e.g.
ulp
:and call this function to determine how many ulps to round outwards by.
The text was updated successfully, but these errors were encountered: