31 references to SingleToUInt32Bits
System.Private.CoreLib (29)
src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
168return (byte)(BitConverter.SingleToUInt32Bits(f) >> 23);
src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
745uint bitValue = BitConverter.SingleToUInt32Bits(value); 755uint exponentOffset0 = BitConverter.SingleToUInt32Bits(float.Max(value, BitConverter.UInt32BitsToSingle(MinExp))); 762bitValue = BitConverter.SingleToUInt32Bits(value); 1092uint absoluteValue = BitConverter.SingleToUInt32Bits(BitConverter.UInt32BitsToSingle(bitValueInProcess) - BitConverter.UInt32BitsToSingle(maskedExponentLowerBound));
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
142uint raw = BitConverter.SingleToUInt32Bits(value);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (4)
54uint bits = BitConverter.SingleToUInt32Bits(x); 86uint bits = BitConverter.SingleToUInt32Bits(x); 132uint xbits = BitConverter.SingleToUInt32Bits(x); 133uint ybits = BitConverter.SingleToUInt32Bits(y);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
548uint bits = BitConverter.SingleToUInt32Bits((float)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (18)
125uint bits = BitConverter.SingleToUInt32Bits(m_value); 150uint bits = BitConverter.SingleToUInt32Bits(m_value); 171uint bits = BitConverter.SingleToUInt32Bits(f); 180uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 201uint bits = BitConverter.SingleToUInt32Bits(f); 227uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 245uint bits = BitConverter.SingleToUInt32Bits(Abs(f)); 339uint bits = BitConverter.SingleToUInt32Bits(m_value); 546uint bits = BitConverter.SingleToUInt32Bits(value); 583uint bits = BitConverter.SingleToUInt32Bits(left) & BitConverter.SingleToUInt32Bits(right); 590uint bits = BitConverter.SingleToUInt32Bits(left) | BitConverter.SingleToUInt32Bits(right); 597uint bits = BitConverter.SingleToUInt32Bits(left) ^ BitConverter.SingleToUInt32Bits(right); 604uint bits = ~BitConverter.SingleToUInt32Bits(value); 1108uint bits = BitConverter.SingleToUInt32Bits(Abs(value)); 2232static ulong IBinaryFloatParseAndFormatInfo<float>.FloatToBits(float value) => BitConverter.SingleToUInt32Bits(value);
System.Private.DataContractSerialization (1)
System\Xml\XmlConverter.cs (1)
713return BitConverter.SingleToUInt32Bits(value) == 0x8000_0000U;
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
33WriteUInt32(buffer, start, BitConverter.SingleToUInt32Bits(value));