共用方式為


catanh catanhf catanhl

 

如需 Visual Studio 2017 的最新文件請參閱 Visual Studio 2017 文件

擷取間隔之外的分支剪下與複數的反雙曲正切 [−&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> <>>

如需更多的相容性資訊,請參閱<簡介>中的 Compatibility

另請參閱

依字母順序排列的函式參考
ctanh ctanhf ctanhl
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