17 references to UInt32BitsToSingle
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Half.cs (7)
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);
1180
private static float CreateSingle(bool sign, byte exp, uint sig) => BitConverter.
UInt32BitsToSingle
(((sign ? 1U : 0U) << float.SignShift) + ((uint)exp << float.BiasedExponentShift) + sig);
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 (6)
541
static float IBinaryNumber<float>.AllBitsSet => BitConverter.
UInt32BitsToSingle
(0xFFFF_FFFF);
584
return BitConverter.
UInt32BitsToSingle
(bits);
591
return BitConverter.
UInt32BitsToSingle
(bits);
598
return BitConverter.
UInt32BitsToSingle
(bits);
605
return BitConverter.
UInt32BitsToSingle
(bits);
2230
static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.
UInt32BitsToSingle
((uint)(bits));