-
-
Notifications
You must be signed in to change notification settings - Fork 16
ExtendedNumerics.BigDecimal.Cot(ExtendedNumerics.BigDecimal,int)
Adam White edited this page Oct 7, 2024
·
1 revision
Arbitrary precision cotangent function.
The input must not be zero, as the cotangent is undefined at that value.
public static ExtendedNumerics.BigDecimal Cot(ExtendedNumerics.BigDecimal radians, int precision);
radians
BigDecimal
An angle, measured in radians, which is not zero, π or a multiple of π.
precision
System.Int32
The desired precision in terms of the number of digits to the right of the decimal.
BigDecimal
The cotangent of radians, in radians.
System.ArgumentException
Argument radians cannot be zero.
System.ArgumentException
Argument radians cannot be π or a multiple of π.