Mono Class Library: System.Math Overview | Members

System.Math.Acos Method

Returns the angle whose cosine is the specified double. [Edit]

public static double Acos (double d)

Parameters

d
A double representing a cosine, where -1 <= d <= 1. [Edit]

Returns

A double containing the value of an angle, theta, measured in radians, for which d is the cosine, such that 0 <= theta <= pi. If d < -1, d > 1, or d = double.NaN, returns double.NaN. [Edit]

Remarks

Note: Multiply the return value by 180/pi to convert from radians to degrees.
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0