BitConverter.UInt16BitsToHalf(UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Converts the specified 16-bit unsigned integer to a half-precision floating point number.
public:
static Half UInt16BitsToHalf(System::UInt16 value);
[System.CLSCompliant(false)]
public static Half UInt16BitsToHalf (ushort value);
[<System.CLSCompliant(false)>]
static member UInt16BitsToHalf : uint16 -> Half
Public Shared Function UInt16BitsToHalf (value As UShort) As Half
Parameters
- value
- UInt16
The number to convert.
Returns
A half-precision floating point number whose bits are identical to value
.
- Attributes
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.