floor
Da cppreference.com
![]() |
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. |
Definido no cabeçalho <math.h>
|
||
float floorf( float arg ); |
||
double floor( double arg ); |
||
long double floorl( long double arg ); |
||
Calcula inteiro mais próximo não superior a
arg
. Original:
Computes nearest integer not greater than
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.
Índice |
[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
Mais próximo número inteiro não superior a
arg
Original:
Nearest integer not greater than
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.
[editar] Notas
O valor inteiro pode ser sempre representado pelo tipo de dado ponto flutuante.
Original:
The integer value can be always represented by the given floating point type.
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] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
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) | |
(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) |
(C99) (C99) (C99) |
número inteiro mais próximo de arredondamento, de zero em casos meio 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. (função) |
C++ documentation for floor
|