std::signbit
Aus 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. |
definiert in Header <cmath> | ||
bool signbit(float arg ); | (seit C++11) | |
bool signbit(double arg ); | (seit C++11) | |
bool signbit(longdouble arg ); | (seit C++11) | |
Bestimmt, ob die angegebene Gleitkommazahl
arg
negativ ist .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.
[Bearbeiten]Parameter
arg | - | Floating-Point-Wert 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. |
[Bearbeiten]Rückgabewert
true wenn
arg
negativ ist, false andersOriginal:
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.
[Bearbeiten]Siehe auch
Absolutwert einer Fließkommazahl (|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. (Funktion) | |
(C++11) | kopiert das Vorzeichen einer Gleitkommazahl 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. (Funktion) |