std::nextafter, std::nexttoward
Da cppreference.com.
                    
                                        
                    
                    
                                                            
                    | 
   | 
  Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. 
 La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.  | 
|   Defined in header <cmath>
   | 
||
|   float       nextafter( float from, float to );  | 
(1) | (dal C++11) | 
|   double      nextafter( double from, double to );  | 
(2) | (dal C++11) | 
|   long double nextafter( long double from, long double to );  | 
(3) | (dal C++11) | 
|   Promoted    nextafter( Arithmetic from, Arithmetic to );  | 
(4) | (dal C++11) | 
|   float       nexttoward( float from, long double to );  | 
(5) | (dal C++11) | 
|   double      nexttoward( double from, long double to );  | 
(6) | (dal C++11) | 
|   long double nexttoward( long double from, long double to );  | 
(7) | (dal C++11) | 
|   double      nexttoward( Integral from, long double to );  | 
(8) | (dal C++11) | 
Restituisce il valore del successivo rappresentabile 
4) from in direzione di to. Se from uguale a to, to viene restituito.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.
Se un qualsiasi argomento è di tipo integrale, il cast double. Se qualsiasi altro argomento è long double, quindi il tipo di ritorno è long double, altrimenti è 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.
[modifica] Parametri
| from, to | - |    valori in virgola mobile 
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.  | 
[modifica] Valore di ritorno
il valore successivo della 
from rappresentabile in direzione 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.
[modifica] Esempio
| This section is incomplete Reason: no example  |