std::feupdatedenv
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. |
<metanoindex/>
<tbody> </tbody>| Dclar dans l'en-tte <cfenv>
|
||
int feupdateenv( const std::fenv_t* envp ) |
(depuis C++11) | |
Tout d'abord, se souvient des cours souleves exceptions de virgule flottante, puis restaure l'environnement en virgule flottante de l'objet point par
envp (semblable std::fesetenv), se pose alors les exceptions en virgule flottante qui ont t enregistrs .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.
Cette fonction peut tre utilise pour quitter le mode non-stop tabli par un appel antrieur 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.
Paramtres
| envp | - | pointeur vers l'objet de type
std::fenv_t fix par un appel prcdent std::feholdexcept ou std::fegetenv ou gale 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. |
Retourne la valeur
0 en cas de succs, non nuls autrement .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.
Voir aussi
(C++11) |
sauvegarde de l'environnement, efface tous les indicateurs d'tat et ignore toutes les erreurs futures 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. (fonction) |
(C++11) |
sauvegarde ou restaure l'environnement actuel point flottant 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. (fonction) |
(C++11) |
dfaut en virgule flottante environnement 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. (constante macro) |