13 references to BiasedExponentShift
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Double.cs (6)
88
internal const ushort ShiftedBiasedExponentMask = (ushort)(BiasedExponentMask >>
BiasedExponentShift
);
142
return TrailingSignificand | ((BiasedExponent != 0) ? (1UL <<
BiasedExponentShift
) : 0UL);
157
return (ushort)((bits >>
BiasedExponentShift
) & ShiftedBiasedExponentMask);
165
internal static double CreateDouble(bool sign, ushort exp, ulong sig) => BitConverter.UInt64BitsToDouble((sign ? SignMask : 0UL) + ((ulong)exp <<
BiasedExponentShift
) + sig);
1522
uint xExp = (uint)((xBits >>
BiasedExponentShift
) & ShiftedBiasedExponentMask);
1523
uint yExp = (uint)((yBits >>
BiasedExponentShift
) & ShiftedBiasedExponentMask);
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
577
int exp = (int)((doubleInt & double.BiasedExponentMask) >> double.
BiasedExponentShift
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (6)
613
TVectorUInt64 xExp = (xBits >> double.
BiasedExponentShift
) & shiftedExponentMask;
614
TVectorUInt64 yExp = (yBits >> double.
BiasedExponentShift
) & shiftedExponentMask;
804
TVectorUInt64 exponent = ((bits >> double.
BiasedExponentShift
) & TVectorUInt64.Create(double.ShiftedBiasedExponentMask)) - TVectorUInt64.Create(double.ExponentBias);
805
TVectorUInt64 fractionalBits = TVectorUInt64.Create(double.
BiasedExponentShift
) - exponent;
850
TVectorUInt64 exponent = ((bits >> double.
BiasedExponentShift
) & TVectorUInt64.Create(double.ShiftedBiasedExponentMask)) - TVectorUInt64.Create(double.ExponentBias);
851
TVectorUInt64 fractionalBits = TVectorUInt64.Create(double.
BiasedExponentShift
) - exponent;