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

backport fix float16(::Union{Float64,BigFloat}) #43092

Conversation

oscardssmith
Copy link
Member

No description provided.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

@KristofferC
Copy link
Member

This seems to lack the tests from #42837, or?

@vtjnash vtjnash removed their request for review November 15, 2021 18:56
@oscardssmith
Copy link
Member Author

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?

@KristofferC
Copy link
Member

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.

@oscardssmith
Copy link
Member Author

tests added.

@KristofferC KristofferC merged commit 5dba096 into backports-release-1.7 Nov 16, 2021
@KristofferC KristofferC deleted the oscardssmith-backport-fix-bigfloat-to-float16 branch November 16, 2021 11:15
daviehh pushed a commit to daviehh/julia that referenced this pull request Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants