21 references to SingleToInt32Bits
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
639WriteInt32(offset, BitConverter.SingleToInt32Bits(value));
System.Formats.Cbor (2)
System\Formats\Cbor\Writer\CborWriter.Simple.netcoreapp.cs (2)
40return float.IsNaN(value) || BitConverter.SingleToInt32Bits((float)result) == BitConverter.SingleToInt32Bits(value);
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteBigEndian.cs (2)
186int tmp = ReverseEndianness(BitConverter.SingleToInt32Bits(value)); 476int tmp = ReverseEndianness(BitConverter.SingleToInt32Bits(value));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteLittleEndian.cs (2)
186int tmp = ReverseEndianness(BitConverter.SingleToInt32Bits(value)); 476int tmp = ReverseEndianness(BitConverter.SingleToInt32Bits(value));
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
784result = BitConverter.SingleToInt32Bits(localResult);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
490public void Write(long position, float value) => Write(position, BitConverter.SingleToInt32Bits(value));
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (2)
55return CompareIntegerSemantic(BitConverter.SingleToInt32Bits((float)(object)x!), BitConverter.SingleToInt32Bits((float)(object)y!));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (3)
1319int bits = BitConverter.SingleToInt32Bits((float)(object)value); 1381int bits = BitConverter.SingleToInt32Bits((float)(object)value); 1443int bits = BitConverter.SingleToInt32Bits((float)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (5)
210return BitConverter.SingleToInt32Bits(f) < 0; 1138public static bool IsPositive(float value) => BitConverter.SingleToInt32Bits(value) >= 0; 1821int bits = BitConverter.SingleToInt32Bits(ax); 1962int bits = BitConverter.SingleToInt32Bits(ax); 2139int bits = BitConverter.SingleToInt32Bits(ax);
src\System\Reflection\Emit\RuntimeILGenerator.cs (1)
740BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.SingleToInt32Bits(arg));
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
842arg.PrimitiveValue = new PrimitiveValue() { Byte4 = BitConverter.SingleToInt32Bits(parser.GetR4()) };