Espaços nominais
Variantes
Acções

round, lround, llround

Da cppreference.com
< c‎ | numeric‎ | math

This page has been machine-translated from the English version of the wiki using Google Translate.

The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here.

Click here for the English version of this page

 
 
 
Funções matemáticas comuns
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operações básicas
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.
(C99)
(C99)
(C99)
(C99)
(C99)
(C99)
(C99)(C99)(C99)
Funções exponenciais
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.
(C99)
(C99)
(C99)
(C99)
Funções de poder
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.
(C99)
(C99)
Funções trigonométricas e hiperbólicas
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Erro e funções gamma
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.
(C99)
(C99)
(C99)
(C99)
Número inteiro mais próximo de operações de ponto flutuante
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.
roundlroundllround
(C99)(C99)(C99)
(C99)
(C99)
(C99)(C99)(C99)
Flutuando funções de manipulação de pontos
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.
(C99)(C99)
(C99)
(C99)
Classificação
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C99)
(C99)
(C99)
(C99)
(C99)
Constantes de macros
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Definido no cabeçalho <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 );
Calcula número inteiro mais próximo para arg. Número é arredondado de zero em casos meio
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.

[editar] Parâmetros

arg -
flutuando valor de ponto
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.

[editar] Valor de retorno

Número inteiro mais próximo para 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.

[editar] Veja também

número inteiro mais próximo não maior do que o valor especificado
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.

(função) [edit]
número inteiro mais próximo, pelo menos, o valor dado
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.

(função) [edit]
(C99)
número inteiro mais próximo não maior em magnitude do que o valor dado
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.

(função) [edit]
Obtida de "https://pt.cppreference.com/mwiki/index.php?title=c/numeric/math/round&oldid=19725"

AltStyle によって変換されたページ (->オリジナル) /