◐ Shell
clean mode source ↗

std::signbit - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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.

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.

Valor de retorno

true arg se for negativo, false contrário

Original:

true if arg is negative, false otherwise

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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) [edit]

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) [edit]