將兩個複數相乘。
語法
_Dcomplex _Cmulcc( _Dcomplex x, _Dcomplex y );
_Fcomplex _FCmulcc( _Fcomplex x, _Fcomplex y );
_Lcomplex _LCmulcc( _Lcomplex x, _Lcomplex y );
參數
x
要相乘的其中一個複雜操作數。
y
要相乘的另一個複雜操作數。
傳回值
、 _Dcomplex或結構,表示複數和 y的複雜乘積x。_Lcomplex _Fcomplex
備註
由於內建算術運算符無法處理複雜型別的Microsoft實作, _Cmulcc因此、 _FCmulcc和函 _LCmulcc 式會簡化複雜型別的乘法。
需求
| 常式 | C 標頭 | C++ 標頭 |
|---|---|---|
_Cmulcc、 、 _FCmulcc_LCmulcc |
<complex.h> | <complex.h> |
這些函式Microsoft特定。 、 和 型_Dcomplex別分別與單例 C99 原生類型 double _Complex、float _Complex 和 long double _Complex 相等Microsoft特定類型。 _Fcomplex_Lcomplex 如需相容性詳細資訊,請參閱相容性。
另請參閱
依字母順序排列的函式參考
_Cbuild、 、 _FCbuild_LCbuild
_Cmulcr、 、 _FCmulcr_LCmulcr
norm、 、 normfnorml
cproj、 、 cprojfcprojl
conj、 、 conjfconjl
creal、 、 crealfcreall
cimag、 、 cimagfcimagl
carg、 、 cargfcargl
cabs、 、 cabsfcabsl