You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/Math.xml
+47-43
Original file line number
Diff line number
Diff line change
@@ -6126,42 +6126,46 @@ The following example demonstrates how to use the <xref:System.Math.Min%2A> meth
6126
6126
<remarks>
6127
6127
<formattype="text/markdown"><. They're included here because .NET disables IEEE 754 floating-point exceptions and thus doesn't differentiate between `qNaN` (quiet NaN) and `sNaN` (signalling NaN). The [IEEE 754](https://standards.ieee.org/ieee/754/6210/) specification allows this exception disablement.
6159
+
6160
+
This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.
6157
6161
6158
6162
## Examples
6159
6163
6160
-
The following example uses the <xref:System.Math.Pow%2A> method to calculate the value that results from raising 2 to a power ranging from 0 to 32.
6164
+
The following example uses the <xref:System.Math.Pow%2A> method to calculate the value that results from raising 2 to a power ranging from 0 to 32.
You can use the following table to select an appropriate rounding method. In addition to the `Math.Round` methods, it also includes <xref:System.Math.Ceiling%2A?displayProperty=nameWithType> and <xref:System.Math.Floor%2A?displayProperty=nameWithType>.
6295
6299
6296
-
|To|Call|
6300
+
| To | Call|
6297
6301
|--------|----------|
6298
6302
|Round a number to an integer by using the rounding-to-nearest convention.|<xref:System.Math.Round%28System.Decimal%29><br />-or-<br /><xref:System.Math.Round%28System.Double%29>|
6299
6303
|Round a number to an integer by using a specified rounding convention.|<xref:System.Math.Round%28System.Decimal%2CSystem.MidpointRounding%29><br />-or-<br /><xref:System.Math.Round%28System.Double%2CSystem.MidpointRounding%29>|
@@ -6333,16 +6337,16 @@ The following example illustrates the bias that can result from consistently rou
6333
6337
6334
6338
By default, the <xref:System.Math.Round%2A> method uses the round to nearest even convention. The following table lists the overloads of the <xref:System.Math.Round%2A> method and the rounding convention that each uses.
0 commit comments