ctanh, ctanhf, ctanhl

Visual Studio 2015
 

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 ctanh, ctanhf, ctanhl.

Computes the complex hyperbolic tangent of a complex number.

_Dcomplex ctanh(   
   _Dcomplex z   
);  
_Fcomplex ctanh(   
   _Fcomplex z   
);  // C++ only  
_Lcomplex ctanh(   
   _Lcomplex z   
);  // C++ only  
_Fcomplex ctanhf(   
   _Fcomplex z   
);  
_Lcomplex ctanhl(   
   _Lcomplex z   
);  

Parameters

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

The complex hyperbolic tangent of z.

InputSEH Exception_matherr Exception
± ∞, QNAN, INDnone_DOMAIN
± ∞ (tan, tanf)INVALID_DOMAIN

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

RoutineC headerC++ header
ctanh, ctanhf, ctanhl<complex.h><ccomplex>

For compatibility information, see Compatibility.

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

Show: