31 references to SingleToUInt32Bits
System.Private.CoreLib (29)
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\Runtime\Intrinsics\Scalar.cs (1)
548
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);
171
uint bits = BitConverter.
SingleToUInt32Bits
(f);
180
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
201
uint bits = BitConverter.
SingleToUInt32Bits
(f);
227
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
245
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(f));
339
uint bits = BitConverter.
SingleToUInt32Bits
(m_value);
546
uint bits = BitConverter.
SingleToUInt32Bits
(value);
583
uint bits = BitConverter.
SingleToUInt32Bits
(left) & BitConverter.
SingleToUInt32Bits
(right);
590
uint bits = BitConverter.
SingleToUInt32Bits
(left) | BitConverter.
SingleToUInt32Bits
(right);
597
uint bits = BitConverter.
SingleToUInt32Bits
(left) ^ BitConverter.
SingleToUInt32Bits
(right);
604
uint bits = ~BitConverter.
SingleToUInt32Bits
(value);
1108
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(value));
2232
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)
33
WriteUInt32(buffer, start, BitConverter.
SingleToUInt32Bits
(value));