round, lround, llround
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. |
Elemento definito nell'header <math.h>
|
||
float roundf( float arg ); |
||
double round( double arg ); |
||
long double roundl( long double arg ); |
||
long lroundf( float arg ); |
||
long lround( double arg ); |
||
long lroundl( long double arg ); |
||
long long llroundf( float arg ); |
||
long long llround( double arg ); |
||
long long llroundl( long double arg ); |
||
Calcola numero intero più vicino a
arg
. Numero viene arrotondato lontano da zero in caso a metà strada Original:
Computes nearest integer to
arg
. Number is rounded 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
arg | - | valore in virgola mobile
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. |
[modifica] Valore di ritorno
Numero intero più vicino a
arg
.Original:
Nearest integer to
arg
.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
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) | |
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) | |
(C99) |
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) |
C++ documentation for round
|