17 references to UInt32BitsToSingle
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Half.cs (6)
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);
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 (7)
165internal static float CreateSingle(bool sign, byte exp, uint sig) => BitConverter.UInt32BitsToSingle((sign ? SignMask : 0U) + ((uint)exp << BiasedExponentShift) + sig); 543static float IBinaryNumber<float>.AllBitsSet => BitConverter.UInt32BitsToSingle(0xFFFF_FFFF); 586return BitConverter.UInt32BitsToSingle(bits); 593return BitConverter.UInt32BitsToSingle(bits); 600return BitConverter.UInt32BitsToSingle(bits); 607return BitConverter.UInt32BitsToSingle(bits); 2236static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.UInt32BitsToSingle((uint)(bits));