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 Complex.TryParse slicing real and imaginary with wrong lengths #104452

Closed
wants to merge 1 commit into from

Conversation

Miizukii
Copy link
Contributor

@Miizukii Miizukii commented Jul 4, 2024

Fixes: #104421
also replaced the overflow exception with FormatException that the other numbers use (is it a breaking change if Complex.TryFormat() always returned false?)

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 4, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

@tannergooding
Copy link
Member

There's already a PR up for this here: #104388

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.

System.Numerics.Complex Parse (string s, IFormatProvider? provider) don't work
2 participants