cacos
, cacosf
, cacosl
擷取複數的反余弦值,其分支沿著實際座標軸在間隔 [-1, +1] 之外剪下。
語法
_Dcomplex cacos( _Dcomplex z );
_Fcomplex cacosf( _Fcomplex z );
_Lcomplex cacosl( _Lcomplex z );
_Fcomplex cacos( _Fcomplex z ); // C++ only
_Lcomplex cacos( _Lcomplex z ); // C++ only
參數
z
代表角度的複數 (弧度)。
傳回值
的 z
弧余弦,以弧度為單位。 結果會沿著虛數座標軸取消系結,並在實數軸的間隔 [0, π] 中系結。 如果 z
落在間隔 [-1, +1] 外部,則會發生網域錯誤。
備註
因為 C++ 允許多載,所以您可以呼叫採用並傳回 cacos
和 _Fcomplex
值的 _Lcomplex
的多載。 在 C 程式中, cacos
會一律採用及傳回 _Dcomplex
。
需求
常式 | C 標頭 | C++ 標頭 |
---|---|---|
cacos , cacosf , cacosl |
<complex.h> | <ccomplex> |
如需相容性詳細資訊,請參閱相容性。
另請參閱
字母函數參考
catanh
, catanhf
, catanhl
ctanh
, ctanhf
, ctanhl
catan
, catanf
, catanl
csinh
, csinhf
, csinhl
casinh
, casinhf
, casinhl
ccosh
, ccoshf
, ccoshl
cacosh
, cacoshf
, cacoshl
ctan
, ctanf
, ctanl
csin
, csinf
, csinl
casin
, casinf
, casinl
ccos
, ccosf
, ccosl
csqrt
, csqrtf
, csqrtl
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應