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

Fix HalfNumberBufferLength #100187

Merged
merged 2 commits into from Mar 25, 2024
Merged

Fix HalfNumberBufferLength #100187

merged 2 commits into from Mar 25, 2024

Conversation

huoyaoyuan
Copy link
Member

@huoyaoyuan huoyaoyuan commented Mar 23, 2024

Fixes #98841

I'm not sure where to add test. Should I create a single regression test, or add a case to Half.ToString tests?

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 23, 2024
@tannergooding
Copy link
Member

I don’t have a preference for where the test is added. You can link to the associated GitHub issue regardless

@tannergooding tannergooding merged commit 06650b7 into dotnet:main Mar 25, 2024
87 checks passed
@huoyaoyuan huoyaoyuan deleted the half-fix branch March 26, 2024 01:39
@huoyaoyuan
Copy link
Member Author

@tannergooding Does this require backport for 8.0?

@tannergooding
Copy link
Member

We've not gotten any custom reports on this and it currently throws an exception if the user tries.

Particularly since it only impacts subnormals, I'd guess we want to wait to see if anyone else hits this.

CC. @jeffhandley

@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Numerics community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Half.ToString fails for highest precision
2 participants