Skip to content

FloatingPointTypes: retarget net10.0, add float/double/decimal equality example - #2095

Merged
CodeMazeBlog merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/77646-floating-point-types
Aug 14, 2026
Merged

FloatingPointTypes: retarget net10.0, add float/double/decimal equality example#2095
CodeMazeBlog merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/77646-floating-point-types

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets the FloatingPointTypes sample and its Tests project to net10.0 (test stack bumped to match the current batch: xunit 2.9.3, Microsoft.NET.Test.Sdk 17.8.0, coverlet 6.0.0, runner 3.0.0) and adds a short demonstration that 0.1 + 0.2 == 0.3 is False for double (with the round-trip value) but True for decimal. Build clean, 6/6 tests pass on net10.0.

@CodeMazeBlog
CodeMazeBlog merged commit 7fa1363 into CodeMazeBlog:main Aug 14, 2026
3 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