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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.