std::fegetenv, std::fesetenv - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Definido no cabeçalho <cfenv> |
||
|
|
(1) | (desde C++11) |
|
|
(2) | (desde C++11) |
1)
tenta armazenar o status do ambiente de ponto flutuante no objeto apontado por envp.
Original:
Attempts to store the status of the floating-point environment in the object pointed to by envp.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
tentativas para estabelecer o ambiente de ponto flutuante do objeto apontado por envp. O valor de que objeto deve ser obtido previamente por uma chamada para std::feholdexcept ou std::fegetenv ou ser um macro de ponto flutuante constante. Se alguma das bandeiras de ponto flutuante de status são definidos em envp, eles ficam no meio ambiente (e são, então, testáveis com std::fetestexcept), mas os correspondentes exceções de ponto flutuante não são levantadas (execução continua ininterrupta)
Original:
Attempts to establish the floating-point environment from the object pointed to by envp. The value of that object must be previously obtained by a call to std::feholdexcept or std::fegetenv or be a floating-point macro constant. If any of the floating-point status flags are set in envp, they become set in the environment (and are then testable with std::fetestexcept), but the corresponding floating-point exceptions are not raised (execution continues uninterrupted)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| envp | - | Ponteiro para o objeto de Original: pointer to the object of type The text has been machine-translated via Google Translate. |
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.
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. (função) [edit] |
(C++11) |
restaura o ambiente de ponto flutuante e levanta a anteriormente levantar exceções Original: restores the floating-point environment and raises the previously raise exceptions The text has been machine-translated via Google Translate. (função) [edit] |
(C++11) |
ambiente padrão de ponto flutuante Original: default floating-point environment The text has been machine-translated via Google Translate. (macro constante) [edit] |