Half.HalfValue Method

Definition

Returns the half-precision value of this Half as a short containing the bit representation described in Half.

[Android.Runtime.Register("halfValue", "()S", "", ApiSince=26)]
public short HalfValue ();
[<Android.Runtime.Register("halfValue", "()S", "", ApiSince=26)>]
member this.HalfValue : unit -> int16

Returns

The half-precision float value represented by this object

Attributes

Remarks

Returns the half-precision value of this Half as a short containing the bit representation described in Half.

Java documentation for android.util.Half.halfValue().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to