Skip to content

Latest commit

 

History

History
77 lines (62 loc) · 2.44 KB

ctanh-ctanhf-ctanhl.md

File metadata and controls

77 lines (62 loc) · 2.44 KB
title description ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
ctanh, ctanhf, ctanhl
API reference for ctanh, ctanhf, ctanhl; which computes the complex hyperbolic tangent of a complex number.
11/04/2016
ctanh
ctanhf
ctanhl
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
ctanh
ctanhf
ctanhl
complex/ctanh
complex/ctanhf
complex/ctanhl
ctanh function
ctanhl function
ctanhf function
807f2cd1-8740-4988-afff-5911c346385b

ctanh, ctanhf, ctanhl

Computes the complex hyperbolic tangent of a complex number.

Syntax

_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.

Return value

The complex hyperbolic tangent of z.

Input SEH exception _matherr exception
± INF, QNaN, IND none _DOMAIN
± INF (tan, tanf) INVALID _DOMAIN

Remarks

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.

Requirements

Routine C header C++ header
ctanh, ctanhf, ctanhl <complex.h> <ccomplex>

For compatibility information, see Compatibility.

See also

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