Method SingleToUInt32Bits
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
SingleToUInt32Bits(float)
Converts a single-precision floating-point value into a 32-bit unsigned integer (将指定的单精度浮点数转换为 32 位无符号整数).
[CLSCompliant(false)]
public static uint SingleToUInt32Bits(float value)
Parameters
value
floatThe number to convert (欲转换的值).
Returns
- uint
A 32-bit integer whose bits are identical to value (一个32位无符号整数,表示转换的单精度浮点值).