BitConverter.UInt16BitsToHalf(UInt16) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Wandelt die angegebene 16-Bit-nicht signierte Ganzzahl in eine halbgenaue Gleitkommanummer um.

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

Parameter

value
UInt16

Die zu konvertierende Zahl.

Gibt zurück

Half

Eine halbgenaue Gleitkommazahl, deren Bits identisch sind.value

Attribute

Gilt für: