17 references to UInt32BitsToSingle
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Half.cs (7)
755uint exponentOffset0 = BitConverter.SingleToUInt32Bits(float.Max(value, BitConverter.UInt32BitsToSingle(MinExp))); 761value += BitConverter.UInt32BitsToSingle(exponentOffset0); 1092uint absoluteValue = BitConverter.SingleToUInt32Bits(BitConverter.UInt32BitsToSingle(bitValueInProcess) - BitConverter.UInt32BitsToSingle(maskedExponentLowerBound)); 1094return BitConverter.UInt32BitsToSingle(absoluteValue | sign); 1167return BitConverter.UInt32BitsToSingle(signInt | NaNBits | sigInt); 1180private 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)
144return BitConverter.UInt32BitsToSingle(raw & mask);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (3)
81return BitConverter.UInt32BitsToSingle(bits); 113return BitConverter.UInt32BitsToSingle(bits); 137return BitConverter.UInt32BitsToSingle((xbits & ~float.SignMask) | (ybits & float.SignMask));
src\libraries\System.Private.CoreLib\src\System\Single.cs (6)
541static float IBinaryNumber<float>.AllBitsSet => BitConverter.UInt32BitsToSingle(0xFFFF_FFFF); 584return BitConverter.UInt32BitsToSingle(bits); 591return BitConverter.UInt32BitsToSingle(bits); 598return BitConverter.UInt32BitsToSingle(bits); 605return BitConverter.UInt32BitsToSingle(bits); 2230static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.UInt32BitsToSingle((uint)(bits));