FloatMath.Sqrt(Single) Method

Definition

Returns the closest float approximation of the square root of the argument.

[Android.Runtime.Register("sqrt", "(F)F", "")]
public static float Sqrt (float value);
[<Android.Runtime.Register("sqrt", "(F)F", "")>]
static member Sqrt : single -> single

Parameters

value
Single

to compute sqrt of

Returns

the square root of value

Attributes

Remarks

Returns the closest float approximation of the square root of the argument.

Java documentation for android.util.FloatMath.sqrt(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