std::feupdatedenv
Da 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. |
Definido no cabeçalho <cfenv> | ||
int feupdateenv(const std::fenv_t* envp ) | (desde C++11) | |
Primeiro, lembra os atualmente levantadas exceções de ponto flutuante, em seguida, restaura o ambiente de ponto flutuante do objeto apontado por
envp
(semelhante ao std::fesetenv), então levanta as exceções de ponto flutuante que foram salvos.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.
Esta função pode ser usada para finalizar o modo non-stop estabelecida por uma chamada anterior para 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.
[editar]Parâmetros
envp | - | ponteiro para o objeto do tipo std::fenv_t definido por uma chamada anterior a std::feholdexcept ou std::fegetenv ou igual 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. |
[editar]Valor de retorno
0 em caso de sucesso, não-zero, caso contrário.
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.
[editar]Veja também
(C++11) | poupa o meio ambiente, limpa todos os sinalizadores de status e ignora todos os erros futuros 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. (função) |
(C++11) | salva ou restaura o ambiente actual ponto flutuante 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. (função) |
(C++11) | ambiente padrão de ponto flutuante 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 constante) |