11 references to UInt32HighBit
System.Runtime.Numerics (11)
System\Numerics\BigInteger.cs (11)
63
private static readonly BigInteger s_int32MinValue = new(-1, [
UInt32HighBit
]);
483
else if (val[0] ==
UInt32HighBit
) // abs(int.MinValue)
488
else if (val[0] <
UInt32HighBit
) // fits in int as negative
558
else if (value.Length == 1 && value[0] <
UInt32HighBit
)
563
else if (value.Length == 1 && negative && value[0] ==
UInt32HighBit
)
626
else if (nint.Size == 4 && value[0] ==
UInt32HighBit
)
638
if (magnitude <
UInt32HighBit
)
658
else if (value[0] >=
UInt32HighBit
)
2784
if (value._bits[0] >
UInt32HighBit
)
4126
? ((uint)bits[^1] ==
UInt32HighBit
&& firstNonZeroLimb == bits.Length - 1)
4127
: (bits[^1] == ((nuint)
UInt32HighBit
<< BitsPerUInt32) && firstNonZeroLimb == bits.Length - 1);