Partager via


Float.InvokeIsNaN(Single) Method

Definition

Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.

[Android.Runtime.Register("isNaN", "(F)Z", "")]
public static bool InvokeIsNaN (float v);
[<Android.Runtime.Register("isNaN", "(F)Z", "")>]
static member InvokeIsNaN : single -> bool

Parameters

v
Single

the value to be tested.

Returns

true if the argument is NaN; false otherwise.

Attributes

Remarks

Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.

Java documentation for java.lang.Float.isNaN(float).

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