Redigera

Dela via


_Cmulcc, _FCmulcc, _LCmulcc

Multiplies two complex numbers.

Syntax

_Dcomplex _Cmulcc( _Dcomplex x, _Dcomplex y );
_Fcomplex _FCmulcc( _Fcomplex x, _Fcomplex y );
_Lcomplex _LCmulcc( _Lcomplex x, _Lcomplex y );

Parameters

x
One of the complex operands to multiply.

y
The other complex operand to multiply.

Return value

A _Dcomplex, _Fcomplex, or _Lcomplex structure that represents the complex product of the complex numbers x and y.

Remarks

Because the built-in arithmetic operators don't work on the Microsoft implementation of the complex types, the _Cmulcc, _FCmulcc, and _LCmulcc functions simplify multiplication of complex types.

Requirements

Routine C header C++ header
_Cmulcc, _FCmulcc, _LCmulcc <complex.h> <complex.h>

These functions are Microsoft-specific. The types _Dcomplex, _Fcomplex, and _Lcomplex are Microsoft-specific equivalents to the unimplemented C99 native types double _Complex, float _Complex, and long double _Complex, respectively. For more compatibility information, see Compatibility.

See also

Alphabetical function reference
_Cbuild, _FCbuild, _LCbuild
_Cmulcr, _FCmulcr, _LCmulcr
norm, normf, norml
cproj, cprojf, cprojl
conj, conjf, conjl
creal, crealf, creall
cimag, cimagf, cimagl
carg, cargf, cargl
cabs, cabsf, cabsl