-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Type of issue
Other (describe below)
Description
(Type of issue: Improvements might be appropriate)
This is a great in depth article, but I have a few questions that may lead to some tweaks.
-
You may also notice there that .NET 10/C# 14 lists all 17 digits, regardless of formatting
-
I was surprised that the
IsApproximatelyEqualin the section on equality divided by the max or min of the passed values. I anticipate the intent here is to place it in the correct range of exponent, and if so, I think it's worth a sentence explaining it. (If it surprised me on first read, it might surprise someone else) -
In the section Floating point values and exceptions the first sentence seems incorrect: "Unlike operations with integral types, which throw exceptions in cases of overflow or illegal operations such as division by zero, operations with floating-point values do not throw exceptions. " This only occurs in a checked context. I think many people are unaware of this issue, so I think it is worth rewording and adding a link to integer behavior.
None of these are big issues, but it's a great article and I'd love to contribute to making it better.
Page URL
https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-double
Content source URL
https://github.com/dotnet/docs/blob/main/docs/fundamentals/runtime-libraries/system-double.md
Document Version Independent Id
8e36266e-894b-0b75-0967-2e596c86e5df
Platform Id
e4582b86-8b66-cf3f-fbb9-555767782b7c
Article author
Metadata
- ID: 927fddd3-ba2d-b1b6-4b6f-4d91dcd5f476
- PlatformId: e4582b86-8b66-cf3f-fbb9-555767782b7c
- Service: dotnet-fundamentals
Metadata
Metadata
Assignees
Labels
Type
Projects
Status