Click or drag to resize

DoubleDoubleCos Method

Computes the cosine of a double double value.

Namespace:  Meta.Numerics.Extended
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static DoubleDouble Cos(
	DoubleDouble x
)

Parameters

x
Type: Meta.Numerics.ExtendedDoubleDouble
The argument of the cosine.

Return Value

Type: 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