1 write to _lower
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
42_lower = lower;
92 references to _lower
System.Private.CoreLib (92)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (92)
46internal ulong Lower => _lower; 97public override int GetHashCode() => HashCode.Combine(_lower, _upper); 184public static explicit operator byte(UInt128 value) => (byte)value._lower; 196return checked((byte)value._lower); 202public static explicit operator char(UInt128 value) => (char)value._lower; 214return checked((char)value._lower); 222ulong lo64 = value._lower; 259return (double)(value._lower); 267double lower = BitConverter.UInt64BitsToDouble(TwoPow52Bits | ((value._lower << 12) >> 12)) - TwoPow52; 278double lower = BitConverter.UInt64BitsToDouble(TwoPow76Bits | ((ulong)(value >> 12) >> 12) | (value._lower & 0xFFFFFF)) - TwoPow76; 293public static explicit operator short(UInt128 value) => (short)value._lower; 305return checked((short)value._lower); 311public static explicit operator int(UInt128 value) => (int)value._lower; 323return checked((int)value._lower); 329public static explicit operator long(UInt128 value) => (long)value._lower; 341return checked((long)value._lower); 348public static explicit operator Int128(UInt128 value) => new Int128(value._upper, value._lower); 361return new Int128(value._upper, value._lower); 367public static explicit operator nint(UInt128 value) => (nint)value._lower; 379return checked((nint)value._lower); 386public static explicit operator sbyte(UInt128 value) => (sbyte)value._lower; 399return checked((sbyte)value._lower); 411public static explicit operator ushort(UInt128 value) => (ushort)value._lower; 424return checked((ushort)value._lower); 431public static explicit operator uint(UInt128 value) => (uint)value._lower; 444return checked((uint)value._lower); 451public static explicit operator ulong(UInt128 value) => value._lower; 464return value._lower; 471public static explicit operator nuint(UInt128 value) => (nuint)value._lower; 484return checked((nuint)value._lower); 747ulong lower = left._lower + right._lower; 748ulong carry = (lower < left._lower) ? 1UL : 0UL; 760ulong lower = left._lower + right._lower; 761ulong carry = (lower < left._lower) ? 1UL : 0UL; 795return 64 + BitOperations.LeadingZeroCount(value._lower); 802=> ulong.PopCount(value._lower) + ulong.PopCount(value._upper); 815if (value._lower == 0) 819return ulong.TrailingZeroCount(value._lower); 987return ulong.Log2(value._lower); 997public static UInt128 operator &(UInt128 left, UInt128 right) => new UInt128(left._upper & right._upper, left._lower & right._lower); 1000public static UInt128 operator |(UInt128 left, UInt128 right) => new UInt128(left._upper | right._upper, left._lower | right._lower); 1003public static UInt128 operator ^(UInt128 left, UInt128 right) => new UInt128(left._upper ^ right._upper, left._lower ^ right._lower); 1006public static UInt128 operator ~(UInt128 value) => new UInt128(~value._upper, ~value._lower); 1016|| (left._upper == right._upper) && (left._lower < right._lower); 1023|| (left._upper == right._upper) && (left._lower <= right._lower); 1030|| (left._upper == right._upper) && (left._lower > right._lower); 1037|| (left._upper == right._upper) && (left._lower >= right._lower); 1059if (right._lower == 0) 1067return left._lower / right._lower; 1075if (remainder >= right._lower) 1077(highRes, remainder) = X86Base.X64.DivRem(left._upper, 0, right._lower); 1080return new UInt128(highRes, X86Base.X64.DivRem(left._lower, remainder, right._lower).Quotient); 1144Unsafe.WriteUnaligned(ref *(byte*)(pLeft + 0), (uint)(quotient._lower >> 00)); 1145Unsafe.WriteUnaligned(ref *(byte*)(pLeft + 1), (uint)(quotient._lower >> 32)); 1156Unsafe.WriteUnaligned(ref *(byte*)(pRight + 0), (uint)(divisor._lower >> 00)); 1157Unsafe.WriteUnaligned(ref *(byte*)(pRight + 1), (uint)(divisor._lower >> 32)); 1300public static bool operator ==(UInt128 left, UInt128 right) => (left._lower == right._lower) && (left._upper == right._upper); 1303public static bool operator !=(UInt128 left, UInt128 right) => (left._lower != right._lower) || (left._upper != right._upper); 1350ulong upper = Math.BigMul(left._lower, right._lower, out ulong lower); 1351upper += (left._upper * right._lower) + (left._lower * right._upper); 1376ulong al = left._lower; 1379ulong bl = right._lower; 1384UInt128 tl = Math.BigMul(al, bh) + t._lower; 1386lower = new UInt128(tl._lower, mull._lower); 1512public static bool IsEvenInteger(UInt128 value) => (value._lower & 1) == 0; 1539public static bool IsOddInteger(UInt128 value) => (value._lower & 1) != 0; 2022ulong upper = value._lower << shiftAmount; 2030ulong lower = value._lower << shiftAmount; 2031ulong upper = (value._upper << shiftAmount) | (value._lower >> (64 - shiftAmount)); 2066ulong lower = (value._lower >> shiftAmount) | (value._upper << (64 - shiftAmount)); 2097ulong lower = left._lower - right._lower; 2098ulong borrow = (lower > left._lower) ? 1UL : 0UL; 2110ulong lower = left._lower - right._lower; 2111ulong borrow = (lower > left._lower) ? 1UL : 0UL;