Table of Contents

Method Int16BitsToHalf

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

Int16BitsToHalf(short)

Reinterprets the specified 16-bit signed integer value as a half-precision floating-point value (将指定的 16 位有符号整数值重新解释为半精度浮点值).

public static Half Int16BitsToHalf(short value)

Parameters

value short

The 16-bit signed integer value to convert (欲转换的16位有符号整数值).

Returns

Half

A half-precision floating-point value that represents the converted integer (表示根据整数转换后的半精度浮点值).