Skip to content

Latest commit

 

History

History
77 lines (62 loc) · 2.38 KB

ctan-ctanf-ctanl.md

File metadata and controls

77 lines (62 loc) · 2.38 KB
titledescriptionms.dateapi_nameapi_locationapi_typetopic_typef1_keywordshelpviewer_keywordsms.assetid
ctan, ctanf, ctanl
API reference for ctan, ctanf, and ctanl; which retrieve the tangent of a complex number.
11/04/2016
ctan
ctanf
ctanl
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-math-l1-1-0.dll
DLLExport
apiref
ctan
ctanf
ctanl
complex/ctan
complex/ctanf
complex/ctanl
ctan function
ctanf function
ctanl function
d3cbd25c-1e93-4a6d-8154-da42921f7223

ctan, ctanf, ctanl

Retrieves the tangent of a complex number.

Syntax

_Dcomplexctan( _Dcomplexz ); _Fcomplexctan( _Fcomplexz ); // C++ only_Lcomplexctan( _Lcomplexz ); // C++ only_Fcomplexctanf( _Fcomplexz ); _Lcomplexctanl( _Lcomplexz );

Parameters

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

Return value

The tangent of z.

InputSEH exception_matherr exception
± INF, QNaN, INDnone_DOMAIN
± INF (tan, tanf)INVALID_DOMAIN

Remarks

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

Requirements

RoutineC headerC++ header
ctan, ctanf, ctanl<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
csin, csinf, csinl
casin, casinf, casinl
ccos, ccosf, ccosl
csqrt, csqrtf, csqrtl

close