ITrigonometricFunctions<TSelf>.SinCosPi(TSelf) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the sine and cosine of a value that has been multiplied by pi.

C#
public static abstract(TSelf SinPi, TSelf CosPi) SinCosPi(TSelf x);

Parameters

x
TSelf

The value, in half-revolutions, that is multipled by pi before computing its sine and cosine.

Returns

ValueTuple<TSelf,TSelf>

The sine and cosine ofx multiplied-by pi.

Remarks

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

Applies to

Proizvod Verzije
.NET 7, 8, 9, 10