std::fegetexceptflag, std::fesetexceptflag - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Definido no cabeçalho <cfenv> |
||
|
|
(1) | (desde C++11) |
|
|
(2) | (desde C++11) |
1)
Tentativas de obter o conteúdo completo das bandeiras de ponto flutuante de exceção que estão listados na excepts argumento bitmask, que é um OR bit a bit do flutuando macros de exceção de ponto.
Original:
Attempts to obtain the full contents of the floating-point exception flags that are listed in the bitmask argument excepts, which is a bitwise OR of the flutuando macros de exceção de ponto.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Tenta copiar o conteúdo completo das bandeiras de ponto flutuante de exceção que estão listados na excepts de flagp no ambiente de ponto flutuante. Não levanta quaisquer exceções, apenas modifica as bandeiras.
Original:
Attempts to copy the full contents of the floating-point exception flags that are listed in excepts from flagp into the floating-point environment. Does not raise any exceptions, only modifies the flags.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
O conteúdo completo de uma bandeira exceção de ponto flutuante não é necessariamente um valor booleano que indica se a exceção é levantada ou limpo. Por exemplo, pode ser uma estrutura que inclui o estado booleano e o endereço do código que disparou a excepção. Estas funções obter todo o conteúdo e obter / armazená-lo em flagp na implementação formato definido.
Original:
The full contents of a floating-point exception flag is not necessarily a boolean value indicating whether the exception is raised or cleared. For example, it may be a struct which includes the boolean status and the address of the code that triggered the exception. These functions obtain all such content and obtain/store it in flagp in implementation-defined format.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| flagp | - | ponteiro para um objeto Original: pointer to an The text has been machine-translated via Google Translate. |
| excepts | - | bitmask listando as bandeiras de exceção para obter / definir Original: bitmask listing the exception flags to get/set 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.