Udostępnij za pośrednictwem


Half.IsNormalized(Int16) Method

Definition

Returns true if the specified half-precision float value is normalized (does not have a subnormal representation).

[Android.Runtime.Register("isNormalized", "(S)Z", "", ApiSince=26)]
public static bool IsNormalized (short h);
[<Android.Runtime.Register("isNormalized", "(S)Z", "", ApiSince=26)>]
static member IsNormalized : int16 -> bool

Parameters

h
Int16

A half-precision float value

Returns

True if the value is normalized, false otherwise

Attributes

Remarks

Returns true if the specified half-precision float value is normalized (does not have a subnormal representation). If the specified value is #POSITIVE_INFINITY, #NEGATIVE_INFINITY, #POSITIVE_ZERO, #NEGATIVE_ZERO, NaN or any subnormal number, this method returns false.

Java documentation for android.util.Half.isNormalized(short).

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