Editare

Partajați prin


NFloat.SinCosPi(NFloat) Method

Definition

Computes the sine and cosine of a value.

public:
 static ValueTuple<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat> SinCosPi(System::Runtime::InteropServices::NFloat x) = System::Numerics::ITrigonometricFunctions<System::Runtime::InteropServices::NFloat>::SinCosPi;
public static (System.Runtime.InteropServices.NFloat SinPi, System.Runtime.InteropServices.NFloat CosPi) SinCosPi (System.Runtime.InteropServices.NFloat x);
static member SinCosPi : System.Runtime.InteropServices.NFloat -> ValueTuple<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>
Public Shared Function SinCosPi (x As NFloat) As ValueTuple(Of NFloat, NFloat)

Parameters

x
NFloat

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

Returns

The sine and cosine of x.

Implements

Remarks

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

Applies to