std::nextafter, std::nexttoward
De 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. |
</div></div>
| Déclaré dans l'en-tête <cmath>
|
||
| float nextafter( float from, float to ); |
(1) | (depuis C++11) |
| double nextafter( double from, double to ); |
(2) | (depuis C++11) |
| long double nextafter( long double from, long double to ); |
(3) | (depuis C++11) |
| Promoted nextafter( Arithmetic from, Arithmetic to ); |
(4) | (depuis C++11) |
| float nexttoward( float from, long double to ); |
(5) | (depuis C++11) |
| double nexttoward( double from, long double to ); |
(6) | (depuis C++11) |
| long double nexttoward( long double from, long double to ); |
(7) | (depuis C++11) |
| double nexttoward( Integral from, long double to ); |
(8) | (depuis C++11) |
Retourne la valeur suivante de
4) from représentable dans le sens de to. Si from égal à to, to est retourné .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.
You can help to correct and verify the translation. Click here for instructions.
Si un argument est de type intégral, il est jeté à double. Si aucun autre argument est long double, puis le type de retour est long double, sinon il est 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Paramètres
| from, to | - | valeurs à virgule flottante
Original: floating point values The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Retourne la valeur
la valeur suivante de
from représentable dans le sens de 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Exemple
| This section is incomplete Reason: no example |

