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
/// <returns><c>true</c> if <paramref name="value" /> is NaN; otherwise, <c>false</c>.</returns>
167
167
staticabstractboolIsNaN(TSelfvalue);
168
168
169
-
/// <summary>Determines if a value is negative.</summary>
169
+
/// <summary>Determines if a value represents a negative real number.</summary>
170
170
/// <param name="value">The value to be checked.</param>
171
-
/// <returns><c>true</c> if <paramref name="value" /> is negative; otherwise, <c>false</c>.</returns>
172
-
/// <remarks>This function returning <c>false</c> does not imply that <see cref="IsPositive(TSelf)" /> will return <c>true</c>. A complex number, <c>a + bi</c> for non-zero <c>b</c>, is not positive nor negative</remarks>
171
+
/// <returns><c>true</c> if <paramref name="value" /> represents negative zero or a negative real number; otherwise, <c>false</c>.</returns>
172
+
/// <remarks>
173
+
/// <para>If this type has signed zero, then <c>-0</c> is also considered negative.</para>
174
+
/// <para>This function returning <c>false</c> does not imply that <see cref="IsPositive(TSelf)" /> will return <c>true</c>. A complex number, <c>a + bi</c> for non-zero <c>b</c>, is not positive nor negative</para>
175
+
/// </remarks>
173
176
staticabstractboolIsNegative(TSelfvalue);
174
177
175
178
/// <summary>Determines if a value is negative infinity.</summary>
/// <summary>Determines if a value is positive.</summary>
197
+
/// <summary>Determines if a value represents zero or a positive real number.</summary>
195
198
/// <param name="value">The value to be checked.</param>
196
-
/// <returns><c>true</c> if <paramref name="value" /> is positive; otherwise, <c>false</c>.</returns>
197
-
/// <remarks>This function returning <c>false</c> does not imply that <see cref="IsNegative(TSelf)" /> will return <c>true</c>. A complex number, <c>a + bi</c> for non-zero <c>b</c>, is not positive nor negative</remarks>
199
+
/// <returns><c>true</c> if <paramref name="value" /> represents (positive) zero or a positive real number; otherwise, <c>false</c>.</returns>
200
+
/// <remarks>
201
+
/// <para>If this type has signed zero, then <c>-0</c> is not considered positive, but <c>+0</c> is.</para>
202
+
/// <para>This function returning <c>false</c> does not imply that <see cref="IsNegative(TSelf)" /> will return <c>true</c>. A complex number, <c>a + bi</c> for non-zero <c>b</c>, is not positive nor negative</para>
203
+
/// </remarks>
198
204
staticabstractboolIsPositive(TSelfvalue);
199
205
200
206
/// <summary>Determines if a value is positive infinity.</summary>
0 commit comments