Skip to content

Conversation

@dnenov
Copy link
Collaborator

@dnenov dnenov commented Sep 25, 2025

Purpose

A small test fix based on the net10 change of long.MinValue and long.MaxValue.

  • in net9.0 double -> long casts were changed to saturate instead of returning long.MinValue on overflow. Positive overflows now yield long.MaxValue, negative overflows yield long.MinValue, and NaN yields 0. Updated Math.Floor and Math.Ceiling overflow tests to expect long.MaxValue accordingly.

Declarations

Check these if you believe they are true

Release Notes

  • test fix

Reviewers

@zeusongit

FYIs

@QilongTang
@avidit

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9196

@QilongTang QilongTang merged commit 2822f9f into DynamoDS:master Sep 25, 2025
24 of 29 checks passed
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