Edit

Share via


Single.SinPi(Single) 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 of a value that has been multiplied by pi.

C#
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

Product Versions
.NET 7, 8, 9, 10