21 references to SingleToInt32Bits
ILCompiler.MetadataTransform (2)
Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs (2)
1004
return BitConverter.
SingleToInt32Bits
(x) == BitConverter.
SingleToInt32Bits
(y);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
639
WriteInt32(offset, BitConverter.
SingleToInt32Bits
(value));
System.Data.OleDb (1)
System\Data\ProviderBase\DbBuffer.cs (1)
612
WriteInt32(offset, BitConverter.
SingleToInt32Bits
(value));
System.Formats.Cbor (2)
System\Formats\Cbor\Writer\CborWriter.Simple.netcoreapp.cs (2)
40
return float.IsNaN(value) || BitConverter.
SingleToInt32Bits
((float)result) == BitConverter.
SingleToInt32Bits
(value);
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteBigEndian.cs (2)
210
int tmp = ReverseEndianness(BitConverter.
SingleToInt32Bits
(value));
521
int tmp = ReverseEndianness(BitConverter.
SingleToInt32Bits
(value));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.WriteLittleEndian.cs (2)
210
int tmp = ReverseEndianness(BitConverter.
SingleToInt32Bits
(value));
521
int tmp = ReverseEndianness(BitConverter.
SingleToInt32Bits
(value));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
490
public void Write(long position, float value) => Write(position, BitConverter.
SingleToInt32Bits
(value));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (2)
56
return CompareIntegerSemantic(BitConverter.
SingleToInt32Bits
((float)(object)x!), BitConverter.
SingleToInt32Bits
((float)(object)y!));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (3)
1523
int bits = BitConverter.
SingleToInt32Bits
((float)(object)value);
1585
int bits = BitConverter.
SingleToInt32Bits
((float)(object)value);
1647
int bits = BitConverter.
SingleToInt32Bits
((float)(object)value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (5)
212
return BitConverter.
SingleToInt32Bits
(f) < 0;
1154
public static bool IsPositive(float value) => BitConverter.
SingleToInt32Bits
(value) >= 0;
1874
int bits = BitConverter.
SingleToInt32Bits
(ax);
2015
int bits = BitConverter.
SingleToInt32Bits
(ax);
2192
int bits = BitConverter.
SingleToInt32Bits
(ax);