17 references to UInt32BitsToSingle
System.Private.CoreLib (17)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (6)
770
uint exponentOffset0 = BitConverter.SingleToUInt32Bits(float.Max(value, BitConverter.
UInt32BitsToSingle
(MinExp)));
776
value += BitConverter.
UInt32BitsToSingle
(exponentOffset0);
1108
uint absoluteValue = BitConverter.SingleToUInt32Bits(BitConverter.
UInt32BitsToSingle
(bitValueInProcess) - BitConverter.
UInt32BitsToSingle
(maskedExponentLowerBound));
1110
return BitConverter.
UInt32BitsToSingle
(absoluteValue | sign);
1183
return BitConverter.
UInt32BitsToSingle
(signInt | NaNBits | sigInt);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
141
return BitConverter.
UInt32BitsToSingle
(raw & mask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (3)
79
return BitConverter.
UInt32BitsToSingle
(bits);
111
return BitConverter.
UInt32BitsToSingle
(bits);
135
return BitConverter.
UInt32BitsToSingle
((xbits & ~float.SignMask) | (ybits & float.SignMask));
src\runtime\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);
537
static float IBinaryNumber<float>.AllBitsSet => BitConverter.
UInt32BitsToSingle
(0xFFFF_FFFF);
580
return BitConverter.
UInt32BitsToSingle
(bits);
587
return BitConverter.
UInt32BitsToSingle
(bits);
594
return BitConverter.
UInt32BitsToSingle
(bits);
601
return BitConverter.
UInt32BitsToSingle
(bits);
2283
static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.
UInt32BitsToSingle
((uint)(bits));