36 references to SingleToUInt32Bits
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.BitDecrement.cs (3)
57
Vector128<uint> specialValue = Vector128.Create(BitConverter.
SingleToUInt32Bits
(-float.Epsilon)) & isPositiveZero;
108
Vector256<uint> specialValue = Vector256.Create(BitConverter.
SingleToUInt32Bits
(-float.Epsilon)) & isPositiveZero;
159
Vector512<uint> specialValue = Vector512.Create(BitConverter.
SingleToUInt32Bits
(-float.Epsilon)) & isPositiveZero;
System.Private.CoreLib (31)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
760
uint bitValue = BitConverter.
SingleToUInt32Bits
(value);
770
uint exponentOffset0 = BitConverter.
SingleToUInt32Bits
(float.Max(value, BitConverter.UInt32BitsToSingle(MinExp)));
777
bitValue = BitConverter.
SingleToUInt32Bits
(value);
1108
uint absoluteValue = BitConverter.
SingleToUInt32Bits
(BitConverter.UInt32BitsToSingle(bitValueInProcess) - BitConverter.UInt32BitsToSingle(maskedExponentLowerBound));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
139
uint raw = BitConverter.
SingleToUInt32Bits
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (4)
52
uint bits = BitConverter.
SingleToUInt32Bits
(x);
84
uint bits = BitConverter.
SingleToUInt32Bits
(x);
130
uint xbits = BitConverter.
SingleToUInt32Bits
(x);
131
uint ybits = BitConverter.
SingleToUInt32Bits
(y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (3)
548
uint roundedValueBits = BitConverter.
SingleToUInt32Bits
(roundedValue);
588
uint bits = BitConverter.
SingleToUInt32Bits
(value);
613
uint roundedValueBits = BitConverter.
SingleToUInt32Bits
(roundedValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
773
uint bits = BitConverter.
SingleToUInt32Bits
((float)(object)value);
src\runtime\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);
542
uint bits = BitConverter.
SingleToUInt32Bits
(value);
579
uint bits = BitConverter.
SingleToUInt32Bits
(left) & BitConverter.
SingleToUInt32Bits
(right);
586
uint bits = BitConverter.
SingleToUInt32Bits
(left) | BitConverter.
SingleToUInt32Bits
(right);
593
uint bits = BitConverter.
SingleToUInt32Bits
(left) ^ BitConverter.
SingleToUInt32Bits
(right);
600
uint bits = ~BitConverter.
SingleToUInt32Bits
(value);
1124
uint bits = BitConverter.
SingleToUInt32Bits
(Abs(value));
2285
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)
23
WriteUInt32(buffer, start, BitConverter.
SingleToUInt32Bits
(value));