Half.HalfToRawIntBits(Int16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据上述 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 属性许可证中所述的术语使用。