Big Float.Cos Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Cos( | Returns the cosine of an angle. |
Cos( | Returns the cosine of an angle with the specified accuracy. |
Cos( | Returns the cosine of an angle with the specified accuracy. |
Cos(BigFloat)
Returns the cosine of an angle.
Remarks
The result has the same relative accuracy as the absolute accuracy of angle.
Exceptions
Argument | angle is null. |
Cos(BigFloat, AccuracyGoal)
Returns the cosine of an angle with the specified accuracy.
public static BigFloat Cos(
BigFloat angle,
AccuracyGoal accuracyGoal
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatThe cosine of angle with an accuracy within accuracyGoal.
Exceptions
Argument | angle is null. |
Cos(BigFloat, AccuracyGoal, RoundingMode)
Returns the cosine of an angle with the specified accuracy.
public static BigFloat Cos(
BigFloat angle,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- angle BigFloat
- A BigFloat value that specifies the angle in radians.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatThe cosine of angle with an accuracy within accuracyGoal.
Exceptions
Argument | angle is null. |