sin
From cppreference.com
Template:c/numeric/math/sidebar
| Defined in header <math.h>
|
||
| float sinf( float arg ); |
(since C99) | |
| double sin( double arg ); |
||
| long double sinl( long double arg ); |
(since C99) | |
Computes sine of arg
Parameters
| arg | - | floating point value representing angle in radians |
Return value
Sine of arg in the range [-1 ; +1].
Domain error occurs if arg is infinite. NAN is returned in that case.
See also
| computes cosine (cos(x)) (function) | |
| computes tangent (tan(x)) (function) | |
| computes arc sine (arcsin(x)) (function) | |
| C++ documentation for sin
| |