◐ Shell
clean mode source ↗

Common mathematical functions - cppreference.com

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.

Click here for the English version of this page

Funzioni

Definizione nell'header <cmath>

Operazioni di base

Original:

Basic operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

calcola il valore assoluto di un valore integrale (|x|)

Original:

computes absolute value of an integral value (|x|)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

valore assoluto di un valore in virgola mobile (|x|)

Original:

absolute value of a floating point value (|x|)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

il quoziente e il resto della divisione intera

Original:

the quotient and remainder of integer division

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

resto dell'operazione divisione floating point

Original:

remainder of the floating point division operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

firmato resto della divisione

Original:

signed remainder of the division operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

firmato restante nonché gli ultimi tre bit della operazione di divisione

Original:

signed remainder as well as the three last bits of the division operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

fusa moltiplicare-add operazione

Original:

fused multiply-add operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

più elevato tra due valori in virgola mobile

Original:

larger of two floating point values

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

più piccolo dei due valori in virgola mobile

Original:

smaller of two floating point values

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

differenza positiva di due valori in virgola mobile (max(0, x-y))

Original:

positive difference of two floating point values (max(0, x-y))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)
(C++11)
(C++11)

not-a-number (NaN)

Original:

not-a-number (NaN)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Funzioni esponenziali

Original:

Exponential functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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) [modifica]

(C++11)

torna 2 elevato alla potenza data (2x)

Original:

returns 2 raised to the given power (2x)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

ritorna e elevato alla potenza data, meno uno (ex-1)

Original:

returns e raised to the given power, minus one (ex-1)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

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) [modifica]

calcola comune (base 10) logaritmo (log10(x))

Original:

computes common (base 10) logarithm (log10(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

logaritmo naturale (a base e) di 1 più il numero dato

Original:

natural logarithm (to base e) of 1 plus the given number

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

base 2 logaritmo del numero dato

Original:

base 2 logarithm of the given number

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Funzioni di risparmio energia

Original:

Power functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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) [modifica]

(C++11)

calcola radice cubica (3x)

Original:

computes cubic root (3x)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

calcola radice quadrata della somma dei quadrati di due numeri dati (x2
+y2
)

Original:

computes square root of the sum of the squares of two given numbers (x2
+y2
)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

solleva un numero alla potenza data (xy)

Original:

raises a number to the given power (xy)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Funzioni trigonometriche

Original:

Trigonometric functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

calcola sine (sin(x))

Original:

computes sine (sin(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola coseno (cos(x))

Original:

computes cosine (cos(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola tangente (tan(x))

Original:

computes tangent (tan(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola arcoseno (arcsin(x))

Original:

computes arc sine (arcsin(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola l'arcocoseno (arccos(x))

Original:

computes arc cosine (arccos(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola arco tangente (arctan(x))

Original:

computes arc tangent (arctan(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

arco tangente, utilizzando le indicazioni per determinare quadranti

Original:

arc tangent, using signs to determine quadrants

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Funzioni iperboliche

Original:

Hyperbolic functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

calcola seno iperbolico (sh(x))

Original:

computes hyperbolic sine (sh(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

calcola il coseno iperbolico (ch(x))

Original:

computes hyperbolic cosine (ch(x))

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

tangente iperbolica

Original:

hyperbolic tangent

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

arcoseno iperbolico

Original:

hyperbolic arc sine

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

arcocoseno iperbolico

Original:

hyperbolic arc cosine

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

arco tangente iperbolica

Original:

hyperbolic arc tangent

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Errore e gamma funzioni

Original:

Error and gamma functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

funzione di errore

Original:

error function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

errore funzione complementare

Original:

complementary error function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

logaritmo naturale della funzione gamma

Original:

natural logarithm of the gamma function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

funzione gamma

Original:

gamma function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Più vicini operazioni di interi in virgola mobile

Original:

Nearest integer floating point operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

intero più vicino non inferiore al valore dato

Original:

nearest integer not less than the given value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

intero più vicino non superiore al valore dato

Original:

nearest integer not greater than the given value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

intera più vicina non superiore in grandezza rispetto al valore dato

Original:

nearest integer not greater in magnitude than the given value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)
(C++11)
(C++11)

numero intero più vicino, l'arrotondamento a da zero in caso a metà strada

Original:

nearest integer, rounding away from zero in halfway cases

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

numero intero più vicino utilizzando la modalità corrente di arrotondamento

Original:

nearest integer using current rounding mode

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)
(C++11)
(C++11)

numero intero più vicino utilizzando la modalità corrente di arrotondamento ad eccezione
se il risultato è diverso

Original:

nearest integer using current rounding mode with
exception if the result differs

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Floating funzioni di manipolazione di punti

Original:

Floating point manipulation functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

scompone un numero in significante e una potenza di 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.


(funzione) [modifica]

moltiplica un numero per 2 elevato a una potenza

Original:

multiplies a number by 2 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.


(funzione) [modifica]

scompone un numero in parti intere e frazionarie

Original:

decomposes a number into integer and fractional parts

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)
(C++11)

moltiplica un numero per FLT_RADIX elevato a una potenza

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.


(funzione) [modifica]

(C++11)

estrae esponente del numero

Original:

extracts exponent of the number

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

estrae esponente del numero

Original:

extracts exponent of the number

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)
(C++11)

prossimo valore rappresentabile in virgola mobile verso il valore dato

Original:

next representable floating point value towards the given value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

copia il segno di un valore in virgola mobile

Original:

copies the sign of a 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.


(funzione) [modifica]

Classificazione e confronto

Original:

Classification and comparison

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

categorizza il valore dato in virgola mobile

Original:

categorizes the given 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.


(funzione) [modifica]

(C++11)

controlla se il numero dato ha un valore finito

Original:

checks if the given number has finite value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il numero dato è infinito

Original:

checks if the given number is infinite

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il numero dato è NaN

Original:

checks if the given number is NaN

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il numero dato è normale

Original:

checks if the given number is normal

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il numero dato è negativo

Original:

checks if the given number is negative

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il primo virgola mobile argomento è maggiore del secondo

Original:

checks if the first floating-point argument is greater than the second

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

controlla se il primo a virgola mobile argomento è maggiore o uguale al secondo

Original:

checks if the first floating-point argument is greater or equal than the second

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

(C++11)

controlla se il primo a virgola mobile argomento è minore del secondo

Original:

checks if the first floating-point argument is less than the second

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

controlla se il primo a virgola mobile argomento è minore o uguale al secondo

Original:

checks if the first floating-point argument is less or equal than the second

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

controlla se il primo argomento in virgola mobile è inferiore o maggiore del secondo

Original:

checks if the first floating-point argument is less or greater than the second

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

controlla se due valori in virgola mobile non sono ordinati

Original:

checks if two floating-point values are unordered

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funzione) [modifica]

Tipi

Definizione nell'header <cmath>

float_t

più efficiente tipo a virgola mobile di larghezza almeno pari a float

Original:

most efficient floating-point type at least as wide as float

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

double_t

più efficiente tipo a virgola mobile di larghezza almeno pari a double

Original:

most efficient floating-point type at least as wide as double

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definizione nell'header <cstdlib>

div_t

tipo di struttura, di ritorno della funzione std::div

Original:

structure type, return of the std::div function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ldiv_t

tipo di struttura, di ritorno della funzione std::ldiv

Original:

structure type, return of the std::ldiv function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

lldiv_t

tipo di struttura, di ritorno della funzione std::lldiv

Original:

structure type, return of the std::lldiv function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definizione nell'header <cinttypes>

imaxdiv_t

tipo di struttura, di ritorno della funzione std::imaxdiv

Original:

structure type, return of the std::imaxdiv function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Macro costanti

Definizione nell'header <cmath>

indica il valore di overflow per float, double e long double rispettivamente

Original:

indicates the overflow value for float, double and long double respectively

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(macro costante) [modifica]

(C++11)

restituisce l'infinito positivo o al valore garantito a traboccare un float

Original:

evaluates to positive infinity or the value guaranteed to overflow a float

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(macro costante)

(C++11)

restituisce un NaN tranquilla di float tipo

Original:

evaluates to a quiet NaN of type float

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(macro costante)

definisce il meccanismo di gestione degli errori utilizzato dai comuni funzioni matematiche

Original:

defines the error handling mechanism used by the common mathematical functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(macro costante) [modifica]

Classificazione

Original:

Classification

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)
(C++11)
(C++11)
(C++11)
(C++11)

indica un virgola mobile categoria

Original:

indicates a floating-point category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(macro costante) [modifica]

Definizione nell'header <cfloat>