std::feupdatedenv
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. |
Elemento definito nell'header <cfenv>
|
||
int feupdateenv( const std::fenv_t* envp ) |
(dal C++11) | |
In primo luogo, ricorda i attualmente sollevate eccezioni a virgola mobile, quindi ripristina la virgola mobile ambiente dall'oggetto puntato da
envp
(simile a std::fesetenv), poi solleva le eccezioni a virgola mobile che sono stati salvati.Original:
First, remembers the currently raised floating-point exceptions, then restores the floating-point environment from the object pointed to by
envp
(similar to std::fesetenv), then raises the floating-point exceptions that were saved.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.
Questa funzione può essere utilizzata per porre fine alla non-stop modalità stabilite da una precedente chiamata a std::feholdexcept.
Original:
This function may be used to end the non-stop mode established by an earlier call to std::feholdexcept.
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
envp | - | puntatore all'oggetto di tipo std::fenv_t stabilito da una precedente chiamata a std::feholdexcept o
std::fegetenv o uguale a FE_DFL_ENVOriginal: pointer to the object of type std::fenv_t set by an earlier call to std::feholdexcept or std::fegetenv or equal to FE_DFL_ENVThe 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
0 in caso di successo, non-zero altrimenti.
Original:
0 on success, non-zero otherwise.
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] Vedi anche
(C++11) |
salva l'ambiente, cancella tutti i flag di stato e ignora tutti gli errori futuri Original: saves the environment, clears all status flags and ignores all future errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
(C++11) |
salva o ripristina l'ambiente corrente in virgola mobile Original: saves or restores the current floating point environment The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
(C++11) |
predefinito in virgola mobile ambiente Original: default floating-point environment The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (macro costante) |