Complex number arithmetic
De cppreference.com
<metanoindex/>
O
<complex.h> cabeçalho define macros e declara funções que suportam aritmética número complexo. Valores complexos são valores do tipo double complex, float complex, long double complex, Original:
The header
<complex.h> defines macros and declares functions that support complex number arithmetic. Complex values are values of type double complex, float complex, long double complex, The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Se o
__STDC_IEC_559_COMPLEX__(C99) macro constante é definido pelo compilador, para além dos tipos de complexos, os tipos imaginários são também suportados: double imaginary, float imaginary, long double imaginary e. Quando um valor de tipo imaginário é convertido para um valor de tipo complexo, o tipo de complexo resultante tem o seu conjunto de componente real de zero. Quando um valor de tipo complexo é convertido para um valor do tipo imaginário, o componente real é descartado.Original:
If the macro constant
__STDC_IEC_559_COMPLEX__(C99) is defined by the compiler, in addition to the complex types, the imaginary types are also supported: double imaginary, float imaginary, and long double imaginary. When a value of imaginary type is converted to a value of complex type, the resulting complex type has its real component set to zero. When a value of complex type is converted to a value of imaginary type, the real component is discarded.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Padrão aritmética
+, -, *, / operadores podem ser usados com os tipos reais, complexos e imaginária em qualquer combinação.Original:
Standard arithmetic operators
+, -, *, / can be used with real, complex, and imaginary types in any combination.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Se o
__STDC_NO_COMPLEX__(C11) macro constante é definida pelo compilador, o <complex.h> cabeçalho e todos os nomes listados aqui não são fornecidos.Original:
If the macro constant
__STDC_NO_COMPLEX__(C11) is defined by the compiler, the header <complex.h> and all of the names listed here are not provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Se
#pragma STDC CX_LIMITED_RANGE on é usado, multiplicação complexa, divisão e valor absoluto pode usar fórmulas matemáticas simplificadas, apesar da possibilidade de estouro intermediário.Original:
If
#pragma STDC CX_LIMITED_RANGE on is used, complex multiplication, division, and absolute value may use simplified mathematical formulas, despite the possibility of intermediate overflow.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
