BitConverter.UInt16BitsToHalf(UInt16) Methode

Definitie

Belangrijk

Deze API is niet CLS-conform.

Converteert het opgegeven 16-bits niet-ondertekende gehele getal naar een drijvende komma met halve precisie.

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

Het getal dat moet worden geconverteerd.

Retouren

Een drijvende komma met halve precisie waarvan de bits identiek zijn aan value.

Kenmerken

Van toepassing op