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
)
Public Shared Function Cos (
x As DoubleDouble
) As DoubleDouble
public:
static DoubleDouble Cos(
DoubleDouble x
)
static member Cos :
x : DoubleDouble -> DoubleDouble
Parameters
- x
- Type: Meta.Numerics.ExtendedDoubleDouble
The argument of the cosine.
Return Value
Type:
DoubleDoubleThe 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