catan, catanf, catanl

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

语法

_Dcomplex catan( _Dcomplex z );
_Fcomplex catanf( _Fcomplex z );
_Lcomplex catanl( _Lcomplex z );
_Fcomplex catan( _Fcomplex z );  // C++ only
_Lcomplex catan( _Lcomplex z );  // C++ only

参数

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

返回值

z 的反正切值(以弧度为单位)。 沿虚轴的结果为无限,并位于沿实轴的间隔 [-π/2; +π/2] 中。

备注

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

要求

例程 C 标头 C++ 标头
catan, catanf, catanl <complex.h> <ccomplex>

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

另请参阅

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