std::fmin
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <cmath>
|
||
float fmin( float x, float y ); |
(1) | (desde C++11) |
double fmin( double x, double y ); |
(2) | (desde C++11) |
long double fmin( long double x, long double y ); |
(3) | (desde C++11) |
Promoted fmin( Arithmetic x, Arithmetic y ); |
(4) | (desde C++11) |
Retorna o menor dos dois argumentos de ponto flutuante.
Original:
Returns the smaller of two floating point arguments.
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.
4)
Se algum argumento tem tipo integral, ele é convertido para
double. Se qualquer outro argumento é long double, em seguida, o tipo de retorno é long double, caso contrário é double.Original:
If any argument has integral type, it is cast to
double. If any other argument is long double, then the return type is long double, otherwise it is double.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.
Parâmetros
| x, y | - | valores de ponto flutuante
Original: 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. |
Valor de retorno
O menor dos dois valores de ponto flutuante.
Original:
The 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.
You can help to correct and verify the translation. Click here for instructions.
