std::signbit
De 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. |
</div> </div>
Déclaré dans l'en-tête <cmath>
|
||
bool signbit( float arg ); |
(depuis C++11) | |
bool signbit( double arg ); |
(depuis C++11) | |
bool signbit( long double arg ); |
(depuis C++11) | |
Détermine si la donnée
arg
nombre à virgule flottante est négatif .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.
[modifier] Paramètres
arg | - | valeur du point flottant
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. |
[modifier] Retourne la valeur
true si
arg
est négatif, false autrementOriginal:
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.
[modifier] Voir aussi
valeur absolue d'une valeur à virgule flottante (|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. (fonction) | |
(C++11) |
copie le signe d'une valeur à virgule flottante 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. (fonction) |