std::log2 – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
| definiert in Header <cmath> |
||
|
|
(seit C++11) | |
|
|
(seit C++11) | |
|
|
(seit C++11) | |
|
|
(seit C++11) | |
Berechnet die Basis 2 Logarithmus arg .
Original:
Computes the base 2 logarithm of 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. |
Rückgabewert
log
2(arg)
Domain-Fehler tritt auf, wenn arg negativ ist. NAN wird in diesem Fall wieder .
Original:
Domain error occurs if arg is negative. NAN is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bereichs-Fehler tritt auf, wenn arg ist 0. -HUGE_VAL wird in diesem Fall wieder .
Original:
Range error occurs if arg is 0. -HUGE_VAL is returned in that case.
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 natürlichen (base e) Logarithmus (zur Basis e) (ln(x)) Original: computes natural (base e) logarithm (to base e) (ln(x)) The text has been machine-translated via Google Translate. (Funktion) [edit] | |
(C++11) |
Renditen 2 an die angegebene Leistung (2x) angehoben Original: returns 2 raised to the given power (2x) The text has been machine-translated via Google Translate. (Funktion) [edit] |
berechnet gemeinsamen (base 10) Logarithmus (log10(x)) Original: computes common (base 10) logarithm (log10(x)) The text has been machine-translated via Google Translate. (Funktion) [edit] | |