Calculates a single-word floating-point cosine of the specified angle.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static float Cos( float x )
Public Shared Function Cos ( _ x As Single _ ) As Single
public: static float Cos( float x )
Parameters
- x (Single)
- An angle, measured in radians
Return Value
The cosine of d