-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
backport fix float16(::Union{Float64,BigFloat}) #43092
backport fix float16(::Union{Float64,BigFloat}) #43092
Conversation
base/mpfr.jl
Outdated
end | ||
end | ||
if (resi & 0x1fff == 0x1000) # if we are halfway between 2 Float16 values | ||
This conversation was marked as resolved by vchuravy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
This seems to lack the tests from #42837, or? |
My thinking was that as a backport it is less important to have the test since people are very unlikely to change the implantation within 1.7, and this minimized size of the backport. Want me to add the tests? |
To me it seems just as important, since we are introducing new code into an environment where the code hasn't been run before and want to make sure all the functionality is valid there. The tests are always backported together with bug fixes. |
tests added. |
No description provided.