Returns the sine of the specified angle.

Namespace: Cudafy
Assembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170

Syntax

C#
public static float Sin(
	float f
)
Visual Basic
Public Shared Function Sin ( _
	f As Single _
) As Single
Visual C++
public:
static float Sin(
	float f
)

Parameters

f
Type: System..::..Single
An angle, measured in radians.

Return Value

The sine of f. If f is equal to NaN, NegativeInfinity, or PositiveInfinity, this method returns NaN.

See Also