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