Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Oct 30, 2024

Fixes #42428

Clarify that checked and unchecked behavior changes for floating point types (float, double, and half), and has minimal impact for decimal.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/statements/checked-and-unchecked.md docs/csharp/language-reference/statements/checked-and-unchecked

Fixes dotnet#42428

Clarify that `checked` and `unchecked` behavior changes for floating point types (`float`, `double`, and `half`), and has minimal impact for `decimal`.
@BillWagner BillWagner marked this pull request as ready for review October 30, 2024 13:44
@BillWagner BillWagner requested a review from a team as a code owner October 30, 2024 13:44
@BillWagner BillWagner enabled auto-merge (squash) October 30, 2024 13:44
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

I left some suggestions for consideration.

Co-authored-by: Genevieve Warren <[email protected]>
@BillWagner BillWagner disabled auto-merge October 31, 2024 13:41
@BillWagner BillWagner enabled auto-merge (squash) October 31, 2024 13:41
@BillWagner BillWagner merged commit 30085b3 into dotnet:main Oct 31, 2024
8 checks passed
@BillWagner BillWagner deleted the checking-checked-unchecked branch October 31, 2024 15:27
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.

Decimal and checked arithmetic

2 participants