description | title | ms.date | api_name | api_location | api_type | topic_type | f1_keywords | helpviewer_keywords | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: _Cbuild, _FCbuild, _LCbuild | _Cbuild, _FCbuild, _LCbuild | 03/30/2018 |
|
|
|
|
|
|
Constructs a complex number from real and imaginary parts.
_Dcomplex_Cbuild( doublereal, doubleimaginary ); _Fcomplex_FCbuild( floatreal, floatimaginary ); _Lcomplex_LCbuild( long doublereal, long doubleimaginary );
real
The real part of the complex number to construct.
imaginary
The imaginary part of the complex number to construct.
A _Dcomplex
, _Fcomplex
, or _Lcomplex
structure that represents the complex number (real
, imaginary
* i) for values of the specified floating-point type.
The _Cbuild
, _FCbuild
, and _LCbuild
functions simplify creation of complex types. Use the creal
, crealf
, creall
and cimag
, cimagf
, cimagl
functions to retrieve the real and imaginary portions of the represented complex numbers.
Routine | C header | C++ header |
---|---|---|
_Cbuild , _FCbuild , _LCbuild | <complex.h> | <ccomplex> |
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.
Alphabetical function reference_Cmulcc
, _FCmulcc
, _LCmulcc
_Cmulcr
, _FCmulcr
, _LCmulcr
norm
, normf
, norml
cproj
, cprojf
, cprojl
conj
, conjf
, conjl
creal
, crealf
, creall
cimag
, cimagf
, cimagl
carg
, cargf
, cargl
cabs
, cabsf
, cabsl