BigFloat.SinCos(BigFloat, AccuracyGoal, RoundingMode) Method

Calculates the sine and the cosine of an angle with the specified accuracy.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static (BigFloat , BigFloat ) SinCos(
	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

ValueTuple<BigFloat, BigFloat>
A tuple consisting of the sine and cosine of angle.

Exceptions

ArgumentNullExceptionangle is null.

See Also