Java.Lang.Math.Cos Method
Returns the closest double approximation of the cosine of the argument.

Syntax

[Android.Runtime.Register("cos", "(D)D", "")]
public static double Cos (double d)

Parameters

d
the angle whose cosine has to be computed, in radians.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the closest double approximation of the cosine of the argument. The returned result is within 1 ulp (unit in the last place) of the real result.

Special cases:

  • cos(+infinity) = NaN
  • cos(-infinity) = NaN
  • cos(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