◐ Shell
clean mode source ↗

std::signbit – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cmath>

bool signbit( float arg );

(seit C++11)

bool signbit( double arg );

(seit C++11)

bool signbit( long double 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.

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.

Rückgabewert

true wenn arg negativ ist, false anders

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.

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

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