std::nextafter, std::nexttoward – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
| definiert in Header <cmath> |
||
|
|
(1) | (seit C++11) |
|
|
(2) | (seit C++11) |
|
|
(3) | (seit C++11) |
|
|
(4) | (seit C++11) |
|
|
(5) | (seit C++11) |
|
|
(6) | (seit C++11) |
|
|
(7) | (seit C++11) |
|
|
(8) | (seit C++11) |
Gibt den nächsten Wert der darstellbaren from in Richtung to. Wenn from um to entspricht, wird to zurückgegeben .
Original:
Returns the next representable value of from in the direction of to. If from equals to to, to is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Wenn ein Argument hat integralen Typ, wird es double gegossen. Wenn ein anderes Argument long double ist, dann ist der Rückgabetyp long double ist, sonst ist es double
Original:
If any argument has integral type, it is cast to double. If any other argument is long double, then the return type is long double, otherwise it is double
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| from, to | - | Fließkommazahlen Original: floating point values The text has been machine-translated via Google Translate. |
Rückgabewert
der nächste darstellbare Wert from in Richtung to .
Original:
the next representable value of from in the direction of to.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.