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. |
Déclaré dans l'en-tête <cfenv> | ||
int feupdateenv(conststd::fenv_t* envp ) | (depuis C++11) | |
Tout d'abord, se souvient des cours soulevées 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é enregistrés .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 utilisée pour quitter le mode non-stop établi par un appel antérieur à 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.
[modifier]Paramètres
envp | - | pointeur vers l'objet de type std::fenv_t fixé par un appel précédent à 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. |
[modifier]Retourne la valeur
0 en cas de succès, 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.
[modifier]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) | défaut 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) |