Edit

Share via


Double.SinCos(Double) Method

Definition

Computes the sine and cosine of a value.

C#
public static(double Sin, double Cos) SinCos(double x);

Parameters

x
Double

The value, in radians, whose sine and cosine are to be computed.

Returns

The sine and cosine of x.

Implements

Remarks

This computes (sin(x), cos(x)).

Applies to

Product Versions
.NET 7, 8, 9