csin, csinf, csinl


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at csin, csinf, csinl.

Retrieves the sine of a complex number.


_Dcomplex csin(   
   _Dcomplex z   
_Fcomplex csin(   
   _Fcomplex z   
);  // C++ only  
_Lcomplex csin(   
   _Lcomplex z   
);  // C++ only  
_Fcomplex csinf(   
   _Fcomplex z   
_Lcomplex csinl(   
   _Lcomplex z   


A complex number that represents an angle, in radians.

Return Value

The sine of z, in radians.


Because C++ allows overloading, you can call overloads of csin that take and return _Fcomplex and _Lcomplex values. In a C program, csin always takes and returns a _Dcomplex value.


Routine C header C++ header
csin, csinf, csinl <complex.h> <ccomplex>

For more compatibility information, see Compatibility in the Introduction.

See Also

Alphabetical Function Reference
catanh, catanhf, catanhl
ctanh, ctanhf, ctanhl
catan, catanf, catanl
csinh, csinhf, csinhl
casinh, casinhf, casinhl
ccosh, ccoshf, ccoshl
cacosh, cacoshf, cacoshl
cacos, cacosf, cacosl
ctan, ctanf, ctanl
casin, casinf, casinl
ccos, ccosf, ccosl
csqrt, csqrtf, csqrtl