CMPLXF, CMPLX, CMPLXL
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
| Definido en el archivo de encabezado <complex.h>
|
||
float complex cpowf( float real, float imag ); |
(desde C11) | |
doulbe complex cpow( double real, double imag ); |
(desde C11) | |
long double complex cpowl( long double real, long double imag ); |
(desde C11) | |
Devuelve un número complejo compuesto de
real como la parte real y imag como la parte imaginaria. Las funciones se implementan como macros . Original:
Returns a complex number composed of
real as the real part and imag as the imaginary part. The functions are implemented as macros. 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.
El valor devuelto en adecuado para su uso como inicializador para las variables con duración de almacenamiento estático o hilo, pero si sólo
real y imag también son adecuados .Original:
The returned value in suitable for use as initializer for variables with static or thread storage duration, but only if
real and imag are also suitable.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.
Parámetros
| real | - | la parte real del número complejo para volver
Original: the real part of the complex number to return The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| imag | - | la parte imaginaria del número complejo para volver
Original: the imaginary part of the complex number to return The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
Un número complejo compuesto por
real y imag como las partes real e imaginaria .Original:
A complex number composed of
real and imag as the real and imaginary parts.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.
Ejemplo
| Esta sección está incompleta Razón: sin ejemplo |