Skip to content

Comments

Fix HalfNumberBufferLength#100187

Merged
tannergooding merged 2 commits intodotnet:mainfrom
huoyaoyuan:half-fix
Mar 25, 2024
Merged

Fix HalfNumberBufferLength#100187
tannergooding merged 2 commits intodotnet:mainfrom
huoyaoyuan:half-fix

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?

@ghost ghost added the area-System.Numerics label Mar 23, 2024
@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
@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