DecimalMath.Acos Method

Returns the angle whose cosine is the specified number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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

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

See Also