sin
From cppreference.com
| 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
[edit] Parameters
| arg | - | floating point value representing angle in radians |
[edit] Return value
Sine of arg in the range [-1 ; +1].
Domain error occurs if arg is infinite. NAN is returned in that case.
[edit] See also
| computes cosine (cos(x)) (function) | |
| computes tangent (tan(x)) (function) | |
| computes arc sine (arcsin(x)) (function) | |
| C++ documentation for sin
| |