34 references to SingleToUInt32Bits
System.Private.CoreLib (32)
src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
168
return (byte)(BitConverter.
SingleToUInt32Bits
(f) >> 23);
src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
745
uint bitValue = BitConverter.
SingleToUInt32Bits
(value);
755
uint exponentOffset0 = BitConverter.
SingleToUInt32Bits
(float.Max(value, BitConverter.UInt32BitsToSingle(MinExp)));
762
bitValue = BitConverter.
SingleToUInt32Bits
(value);
1092
uint absoluteValue = BitConverter.
SingleToUInt32Bits
(BitConverter.UInt32BitsToSingle(bitValueInProcess) - BitConverter.UInt32BitsToSingle(maskedExponentLowerBound));
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
142
uint raw = BitConverter.
SingleToUInt32Bits
(value);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (4)
54
uint bits = BitConverter.
SingleToUInt32Bits
(x);
86
uint bits = BitConverter.
SingleToUInt32Bits
(x);
132
uint xbits = BitConverter.
SingleToUInt32Bits
(x);
133
uint ybits = BitConverter.
SingleToUInt32Bits
(y);
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (3)
554
uint roundedValueBits = BitConverter.
SingleToUInt32Bits
(roundedValue);
594
uint bits = BitConverter.
SingleToUInt32Bits
(value);
615
uint roundedValueBits = BitConverter.
SingleToUInt32Bits
(roundedValue);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
739
uint bits = BitConverter.
SingleToUInt32Bits
((float)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (18)
125
uint bits = BitConverter.
SingleToUInt32Bits
(m_value);
150
uint bits = BitConverter.
SingleToUInt32Bits
(m_value);
173
uint bits = BitConverter.
SingleToUInt32Bits
(f);
182
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
203
uint bits = BitConverter.
SingleToUInt32Bits
(f);
229
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
247
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
341
uint bits = BitConverter.
SingleToUInt32Bits
(m_value);
548
uint bits = BitConverter.
SingleToUInt32Bits
(value);
585
uint bits = BitConverter.
SingleToUInt32Bits
(left) & BitConverter.
SingleToUInt32Bits
(right);
592
uint bits = BitConverter.
SingleToUInt32Bits
(left) | BitConverter.
SingleToUInt32Bits
(right);
599
uint bits = BitConverter.
SingleToUInt32Bits
(left) ^ BitConverter.
SingleToUInt32Bits
(right);
606
uint bits = ~BitConverter.
SingleToUInt32Bits
(value);
1110
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(value));
2238
static ulong IBinaryFloatParseAndFormatInfo<float>.FloatToBits(float value) => BitConverter.
SingleToUInt32Bits
(value);
System.Private.DataContractSerialization (1)
System\Xml\XmlConverter.cs (1)
713
return BitConverter.
SingleToUInt32Bits
(value) == 0x8000_0000U;
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
36
WriteUInt32(buffer, start, BitConverter.
SingleToUInt32Bits
(value));