◐ Shell
clean mode source ↗

std::abs<div class="t-tr-text">(Float)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(float)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>, std::fabs

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cmath>

float abs( float arg );

double abs( double arg );

long double abs( long double arg );

float fabs( float arg );

double fabs( double arg );

long double fabs( long double arg );

double fabs( Integral arg );

(seit C++11)

Berechnet den absoluten Wert einer Gleitkommazahl arg .

Original:

Computes the absolute value of a floating point value arg.

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

der absolute Wert der arg (|arg|)

Original:

the absolute value of arg (|arg|)

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

Siehe auch

berechnet Absolutwert eines Integralwerts (|x|)

Original:

computes absolute value of an integral 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]

(C++11)

prüft, ob die angegebene Zahl negativ ist

Original:

checks if the given number is negative

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


(Funktion) [edit]

liefert den Betrag einer komplexen Zahl

Original:

returns the magnitude of a complex number

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


(Funktions-Template) [edit]

wendet die Funktion std::abs auf jedes Element valarray

Original:

applies the function std::abs to each element of valarray

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


(Funktions-Template) [edit]