std::fegetexceptflag, std::fesetexceptflag
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cfenv>
|
||
int fegetexceptflag( std::fexcept_t* flagp, int excepts ); |
(1) | (dal C++11) |
int fesetexceptflag( const std::fexcept_t* flagp, int excepts ); |
(2) | (dal C++11) |
I tentativi di ottenere l'intero contenuto di virgola mobile flag di eccezione che sono elencati nella
2) excepts
argomento maschera di bit, che è un OR bit per bit del galleggiante macro di eccezione. 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 galleggiante macro di eccezione. 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.
I tentativi di copiare l'intero contenuto di virgola mobile flag di eccezione che sono elencati nella
excepts
dal flagp
in virgola mobile ambiente. Non sollevare alcuna eccezione, modifica solo le bandiere.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.
You can help to correct and verify the translation. Click here for instructions.
L'intero contenuto di una virgola mobile flag di eccezione non è necessariamente un valore booleano che indica se l'eccezione viene sollevata o cancellato. Per esempio, può essere una struttura che comprende lo stato boolean e l'indirizzo di codice che ha generato l'eccezione. Queste funzioni ottenere tale contenuto e di ottenere / conservare in
flagp
nell'attuazione formato definito.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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
flagp | - | puntatore ad un oggetto std::fexcept_t dove le bandiere saranno memorizzati o leggere
Original: pointer to an std::fexcept_t object where the flags will be stored or read from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
excepts | - | maschera di bit che elenca i flag eccezione di get / set
Original: bitmask listing the exception flags to get/set The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
0 in caso di successo, non-zero altrimenti.
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.