pow
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
| Defined in header <math.h>
|
||
| float powf( float base, float exp ); |
||
| double pow( double base, double exp ); |
||
| long double powl( long double base, long double exp ); |
||
Calcola il valore di
base elevato alla potenza exp o iexp.Original:
Computes the value of
base raised to the power exp or iexp.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.
[modifica] Parametri
| base | - | base come valore in virgola mobile
Original: base as 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 | - | esponente come valore in virgola mobile
Original: exponent as 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. |
| iexp | - | esponente come valore intero
Original: exponent as integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
base sollevato dal potere (exp o iexp). Original:
base raised by power (exp or iexp). 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.
Errore di dominio si verifica se
base è 0 e exp è inferiore o uguale a 0. NAN viene restituito in questo caso.Original:
Domain error occurs if
base is 0 and exp is less than or equal to 0. NAN is returned in that case.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.
Errore di dominio si verifica se
base è negativo e exp non è un valore intero. NAN viene restituito in questo caso.Original:
Domain error occurs if
base is negative and exp is not an integer value. NAN is returned in that case.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.
Campo errore si verifica se un overflow avviene. HUGEVAL viene restituito in questo caso.
Original:
Range error occurs if an overflow takes place. HUGEVAL is returned in that case.
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.
[modifica] Vedi anche
| ritorna e elevato alla potenza data (ex) Original: returns e raised to the given power (ex) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
| calcola naturale (base e) logaritmo (alla base e) (ln(x)) Original: computes natural (base e) logarithm (to base e) (ln(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
| calcola la radice quadrata (√x) Original: computes square root (√x) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
| (C99) |
calcola radice cubica (3√x) Original: computes cubic root (3√x) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
| C++ documentation for pow
|

