22 references to One
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (7)
1782
ulong roundBits = (ulong)(quotient & ((UInt128.
One
<< drop) - 1));
1839
if ((shift == 128) && (value > (UInt128.
One
<< 127)))
1840
return UInt128.
One
;
1845
UInt128 remainder = value & ((UInt128.
One
<< shift) - UInt128.
One
);
1846
UInt128 half = UInt128.
One
<< (shift - 1);
1848
if ((remainder > half) || ((remainder == half) && ((quotient & UInt128.
One
) != UInt128.Zero)))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (3)
2722
UInt128 scale = UInt128.
One
;
3384
UInt128 minMagnitude = isUnsigned ? UInt128.Zero : maxMagnitude + UInt128.
One
;
3475
UInt128 magnitude = isNegative ? (~bits) + UInt128.
One
: bits;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128Conversions.cs (3)
160
UInt128 remainder = fraction & ((UInt128.
One
<< shift) - UInt128.
One
);
161
UInt128 half = UInt128.
One
<< (shift - 1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128DecimalReduce.cs (1)
129
UInt128 result = UInt128.
One
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128PiTrig.cs (2)
97
UInt128 fractionBits = significand & ((UInt128.
One
<< shift) - UInt128.
One
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (6)
783
? (
One
, left._lower - right._lower)
1310
public static UInt128 operator --(UInt128 value) => value -
One
;
1313
public static UInt128 operator checked --(UInt128 value) => checked(value -
One
);
1341
public static UInt128 operator ++(UInt128 value) => value +
One
;
1344
public static UInt128 operator checked ++(UInt128 value) => checked(value +
One
);
1369
static UInt128 IMultiplicativeIdentity<UInt128, UInt128>.MultiplicativeIdentity =>
One
;