17 references to UInt32BitsToSingle
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Half.cs (6)
755
uint exponentOffset0 = BitConverter.SingleToUInt32Bits(float.Max(value, BitConverter.
UInt32BitsToSingle
(MinExp)));
761
value += BitConverter.
UInt32BitsToSingle
(exponentOffset0);
1092
uint absoluteValue = BitConverter.SingleToUInt32Bits(BitConverter.
UInt32BitsToSingle
(bitValueInProcess) - BitConverter.
UInt32BitsToSingle
(maskedExponentLowerBound));
1094
return BitConverter.
UInt32BitsToSingle
(absoluteValue | sign);
1167
return BitConverter.
UInt32BitsToSingle
(signInt | NaNBits | sigInt);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
144
return BitConverter.
UInt32BitsToSingle
(raw & mask);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (3)
81
return BitConverter.
UInt32BitsToSingle
(bits);
113
return BitConverter.
UInt32BitsToSingle
(bits);
137
return BitConverter.
UInt32BitsToSingle
((xbits & ~float.SignMask) | (ybits & float.SignMask));
src\libraries\System.Private.CoreLib\src\System\Single.cs (7)
165
internal static float CreateSingle(bool sign, byte exp, uint sig) => BitConverter.
UInt32BitsToSingle
((sign ? SignMask : 0U) + ((uint)exp << BiasedExponentShift) + sig);
543
static float IBinaryNumber<float>.AllBitsSet => BitConverter.
UInt32BitsToSingle
(0xFFFF_FFFF);
586
return BitConverter.
UInt32BitsToSingle
(bits);
593
return BitConverter.
UInt32BitsToSingle
(bits);
600
return BitConverter.
UInt32BitsToSingle
(bits);
607
return BitConverter.
UInt32BitsToSingle
(bits);
2236
static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.
UInt32BitsToSingle
((uint)(bits));