DecimalMath.Acos Method

Returns the angle whose cosine is the specified number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static decimal Acos(
	decimal value
)

Parameters

value  Decimal
A number representing a cosine, where -1 ≤value≤ 1.

Return Value

Decimal
An angle, θ, measured in radians, such that 0 ≤θ≤π-or- System.Double.NaN if value < -1 or value > 1.

Exceptions

ArgumentOutOfRangeException

value is less than -1 or greater than +1.

See Also