Share via


BitConverter.Int16BitsToHalf(Int16) Methode

Definition

Interpretiert den angegebenen 16-Bit-ganzzahligen Wert erneut als halbgenauen Gleitkommawert.

public:
 static Half Int16BitsToHalf(short value);
public static Half Int16BitsToHalf (short value);
static member Int16BitsToHalf : int16 -> Half
Public Shared Function Int16BitsToHalf (value As Short) As Half

Parameter

value
Int16

Der 16-Bit-ganzzahlige Wert, der konvertiert werden soll.

Gibt zurück

Half

Ein halbgenauer Gleitkommawert, der die konvertierte ganze Zahl darstellt.

Gilt für