Espacios de nombres
Variantes
Acciones

std::fegetexceptflag, std::fesetexceptflag

De cppreference.com
< cpp‎ | numeric‎ | fenv

 
 
Numéricos biblioteca
Funciones matemáticas comunes
Floating-point medio ambiente
Los números complejos
Matrices numéricas
Pseudo-aleatoria de generación de números
En tiempo de compilación aritmética racional (C++11)
Genéricos operaciones numéricas
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
Floating-point medio ambiente
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
feclearexcept(C++11)
fetestexcept(C++11)
feraiseexcept(C++11)
fegetexceptflag
fesetexceptflag
(C++11)
(C++11)
fegetround
fesetround
(C++11)
(C++11)
fegetenv
fesetenv
(C++11)
feholdexcept(C++11)
feupdateenv(C++11)
Constantes Macro
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
FE_ALL_EXCEPT
FE_DIVBYZERO
FE_INEXACT
FE_INVALID
FE_OVERFLOW
FE_UNDERFLOW
(C++11)
FE_DOWNWARD
FE_TONEAREST
FE_TOWARDZERO
FE_UPWARD
(C++11)
FE_DFL_ENV(C++11)
 
Defined in header <cfenv>
int fegetexceptflag( std::fexcept_t* flagp, int excepts );
(1) (desde C++11)
int fesetexceptflag( const std::fexcept_t* flagp, int excepts );
(2) (desde C++11)
1)
Los intentos de obtener el contenido completo de las banderas de excepción de coma flotante que se enumeran en el excepts argumento máscara de bits, que es un O-lógico de la flotando macros punto de excepción .
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 flotando macros punto de excepción.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Los intentos de copiar todo el contenido de las banderas de excepción de coma flotante que se enumeran en excepts de flagp en el entorno de coma flotante. No plantea ninguna excepción, sólo modifica las banderas .
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.
El contenido íntegro de una bandera excepción de punto flotante no es necesariamente un valor booleano que indica si la excepción se eleva o se borra. Por ejemplo, puede ser una estructura que incluye el estado booleano y la dirección del código que activó la excepción. Estas funciones se obtienen todos estos contenidos y obtener / guárdelo en flagp en aplicación definida por el formato .
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.

[editar] Parámetros

flagp -
puntero a un objeto std::fexcept_t donde las banderas se almacenarán o leer
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 -
máscara de bits enumerando las banderas de excepción para 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.

[editar] Valor de retorno

0 en caso de éxito, no cero en caso contrario .
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.