29 references to IsNaN
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (1)
1244
|| (typeof(TKey) == typeof(Half) && Half.
IsNaN
((Half)(object)keys[i]))
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (1)
1244
|| (typeof(TKey) == typeof(Half) && Half.
IsNaN
((Half)(object)keys[i]))
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (1)
1244
|| (typeof(TKey) == typeof(Half) && Half.
IsNaN
((Half)(object)keys[i]))
System.Formats.Cbor (1)
System\Formats\Cbor\Writer\CborWriter.Simple.netcoreapp.cs (1)
24
if (Half.
IsNaN
(value) && !CborConformanceModeHelpers.RequiresPreservingFloatPrecision(ConformanceMode))
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.cs (1)
1121
(typeof(TKey) == typeof(Half) && Half.
IsNaN
((Half)(object)keys[i])))
src\libraries\System.Private.CoreLib\src\System\Half.cs (18)
159
if (
IsNaN
(left) ||
IsNaN
(right))
187
if (
IsNaN
(left) ||
IsNaN
(right))
215
if (
IsNaN
(left) ||
IsNaN
(right))
460
if (
IsNaN
(this))
462
return
IsNaN
(other) ? 0 : -1;
465
Debug.Assert(
IsNaN
(other));
484
|| (
IsNaN
(this) &&
IsNaN
(other));
1100
return
IsNaN
(value) ? value : new Half((ushort)(value._value ^ SignMask));
1684
if (!
IsNaN
(y))
1712
if (!
IsNaN
(y))
1726
if (
IsNaN
(value))
1866
if ((ax > ay) ||
IsNaN
(ay))
1894
if ((ax < ay) ||
IsNaN
(ay))
2112
IsNaN
(value) ? 0.0m : (decimal)value;
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (2)
4365
result = Half.
IsNaN
(actualValue) ? Zero : (BigInteger)actualValue;
4482
result = Half.
IsNaN
(actualValue) ? Zero : (BigInteger)actualValue;
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (3)
62
Debug.Assert(!Half.
IsNaN
(result) && !Half.IsInfinity(result));
178
if (Half.
IsNaN
(value))
203
(!Half.
IsNaN
(result) || buffer.SequenceEqual(JsonConstants.NaNValue)) &&
Test.Utilities (1)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (1)
1244
|| (typeof(TKey) == typeof(Half) && Half.
IsNaN
((Half)(object)keys[i]))