DoubleDoubleCos Method

Computes the cosine of a double double value.

Definition

Namespace: Meta.Numerics.Extended
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static DoubleDouble Cos(
	DoubleDouble x
)

Parameters

x  DoubleDouble
The argument of the cosine.

Return Value

DoubleDouble
The value of cos(x).

Remarks

Unlike Cos(Double), this function does not currenly do range reduction with a value of pi even more accurate than Pi. Therefore, beyond the first few periods, results can slowly loose accuracy, particularly near zeros, at the rate of about one digit per order of magnitude of the argument.

See Also