Java.Lang.Math.Sqrt Method
Returns the closest double approximation of the square root of the argument.

Syntax

[Android.Runtime.Register("sqrt", "(D)D", "")]
public static double Sqrt (double d)

Parameters

d
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

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

Special cases:

  • sqrt(+0.0) = +0.0
  • sqrt(-0.0) = -0.0
  • sqrt( (anything
  • sqrt(+infinity) = +infinity
  • sqrt(NaN) = NaN

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1