Läs på engelska Redigera

Dela via


Single.SinPi(Single) Method

Definition

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

public static float SinPi(float x);

Parameters

x
Single

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

Returns

The sine of x multiplied-by pi.

Implements

Remarks

This computes sin(x * π).

Applies to

Produkt Versioner
.NET 7, 8, 9, 10