Half.HalfToRawIntBits(Int16) 方法

定义

根据上述 Half位布局返回指定半精度浮点值的表示形式。

[Android.Runtime.Register("halfToRawIntBits", "(S)I", "", ApiSince=26)]
public static int HalfToRawIntBits (short h);
[<Android.Runtime.Register("halfToRawIntBits", "(S)I", "", ApiSince=26)>]
static member HalfToRawIntBits : int16 -> int

参数

h
Int16

半精度浮点值

返回

表示半精度浮点值的位

属性

注解

根据上述 Half位布局返回指定半精度浮点值的表示形式。

根据上述 Half位布局,该参数被视为半精度浮点值的表示形式。 返回值的 16 个最有效位设置为 0。

适用于 . 的 android.util.Half.halfToRawIntBits(short)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于