std::signbit
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 <cmath>
|
||
bool signbit( float arg ); |
(desde C++11) | |
bool signbit( double arg ); |
(desde C++11) | |
bool signbit( long double arg ); |
(desde C++11) | |
Determina se o dado
arg
número de ponto flutuante é negativo.Original:
Determines if the given floating point number
arg
is negative.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] 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
true
arg
se for negativo, false contrárioOriginal:
true if
arg
is negative, false otherwiseThe 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] Veja também
valor absoluto de um valor de ponto flutuante (|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. (função) | |
(C++11) |
copia o sinal de um valor de ponto flutuante 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. (função) |