ldexp
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 <math.h> | ||
float ldexpf(float arg, intexp); | (desde C99) | |
double ldexp(double arg, intexp); | ||
longdouble ldexpl(longdouble arg, intexp); | (desde C99) | |
Multiplica un valor de punto flotante
arg
por 2 elevado a la potencia exp
.Original:
Multiplies an floating point value
arg
by 2 raised to power exp
.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.
[editar]Parámetros
arg | - | flotando valor en puntos Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
exp | - | valor entero Original: integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
Devoluciones
x×2exp
Original:
Returns
x×2exp
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.
Si el resultado es demasiado grande para el tipo subyacente, se produce error de rango y devuelve HUGE_VAL .
Original:
If the result is too large for the underlying type, range error occurs and HUGE_VAL is returned.
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.
[editar]Ver también
se descompone un número en mantisa y una potencia de 2 Original: decomposes a number into significand and a power of 2 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
(C99)(C99) | multiplica un número por FLT_RADIX elevado a una potencia Original: multiplies a number by FLT_RADIX raised to a power The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
Documentación de C++ para ldexp |