Skip to content

Conversation

@michaelgsharp
Copy link
Contributor

Fixes #112286.

We had a section of tests that should never overflow, but we had double -> float instead of double -> double. This was causing the issue when the randomly generated double wouldn't fit into the float.

@michaelgsharp michaelgsharp self-assigned this Feb 19, 2025
Copilot AI review requested due to automatic review settings February 19, 2025 18:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@michaelgsharp michaelgsharp merged commit 33160cc into dotnet:main Feb 19, 2025
24 checks passed
@michaelgsharp michaelgsharp deleted the convert-checked branch February 19, 2025 21:07
grendello pushed a commit to grendello/runtime that referenced this pull request Feb 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Numerics.Tensors.Tests.ConvertTests.ConvertChecked failing with System.OverflowException

2 participants