Edit

Share via


csin, csinf, csinl

Retrieves the sine of a complex number.

Syntax

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

Parameters

z
A complex number that represents an angle, in radians.

Return value

The sine of z, in radians.

Remarks

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.

Requirements

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

For more compatibility information, see Compatibility.

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