catanh, catanhf, catanhl

检索复数的反双曲正切值,分支切割沿实轴超出间隔 [-1; +1]。

语法

_Dcomplex catanh(
   _Dcomplex z
);
_Fcomplex catanh(
   _Fcomplex z
);  // C++ only
_Lcomplex catanh(
   _Lcomplex z
);  //  C++ only
_Fcomplex catanhf(
   _Fcomplex z
);
_Lcomplex catanhl(
   _Lcomplex z
);

参数

z
表示角度的复数(以弧度为单位)。

返回值

z 的反双曲正切值(以弧度为单位)。 结果沿实轴无限,并位于沿虚轴的间隔 [-iπ/2; +iπ/2] 中。 如果 z 超出间隔 [-1, +1],则会发生域错误。 如果 z 为 -1 或 +1,将发生极点错误。

注解

由于 C++ 允许重载,因此你可以调用采用并返回 catanh_Fcomplex 值的 _Lcomplex 重载。 在 C 程序中, catanh 始终采用并返回 _Dcomplex 值。

要求

例程 C 标头 C++ 标头
catanh, catanhf, catanhl <complex.h> <ccomplex>

有关兼容性的详细信息,请参阅 兼容性

另请参阅

按字母顺序显示的函数参考
ctanhctanhfctanhl
catancatanfcatanl
csinhcsinhfcsinhl
casinhcasinhfcasinhl
ccoshccoshfccoshl
cacoshcacoshfcacoshl
cacoscacosfcacosl
ctanctanfctanl
csincsinfcsinl
casincasinfcasinl
ccosccosfccosl
csqrtcsqrtfcsqrtl