Espacios de nombres
Variantes

Archivo de encabezado de la biblioteca estándar <cfenv>

De cppreference.com
 
 
Archivos de encabezado de la biblioteca estándar
 

Este archivo de encabezado se encontraba originalmente en la biblioteca estándar de C como <fenv.h>.

Esta cabecera es parte de la librería floating-point environment.


Tipos

fenv_t El tipo que representa todo el entorno de coma flotante
fexcept_t El tipo que representa todas las banderas de estado de los cálculos en coma flotante

Funciones

borra los especificados en coma flotante indicadores de estado
Original:
clears the specified floating-point status flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
determina cuál de los indicadores de estado de punto flotante especificado se establecen
Original:
determines which of the specified floating-point status flags are set
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
eleva los especificados excepciones de punto flotante
Original:
raises the specified floating-point exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
copia el estado de los indicadores de estado de punto flotante especificado desde o hacia el entorno de punto flotante
Original:
copies the state of the specified floating-point status flags from or to the 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.

(función) [editar]
(C++11)(C++11)
Obtiene o establece la dirección redondeo
(función) [editar]
guarda o restaura el entorno actual de punto flotante
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.

(función) [editar]
protege el medio ambiente, se borran todos los indicadores de estado y hace caso omiso de todos los errores en el futuro
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.

(función) [editar]
restaura el entorno de coma flotante y plantea la anteriormente lanzar excepciones
Original:
restores the floating-point environment and raises the previously raise exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]

Macros

excepciones de punto flotante
Original:
floating-point exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante de macro) [editar]
de punto flotante de redondeo dirección
Original:
floating-point rounding direction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante de macro) [editar]
defecto de punto flotante de medio ambiente
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.

(constante de macro) [editar]

Synopsis

namespace std {
    // tipos
    typedef /*object type*/ fenv_t;
    typedef /*integer type*/ fexcept_t;
    
    // funciones
    int feclearexcept(int except);
    int fegetexceptflag(fexcept_t *pflag, int except);
    int feraiseexcept(int except);
    int fesetexceptflag(const fexcept_t *pflag, int except);
    int fetestexcept(int except);
    int fegetround(void);
    int fesetround(int mode);
    int fegetenv(fenv_t *penv);
    int feholdexcept(fenv_t *penv);
    int fesetenv(const fenv_t *penv);
    int feupdateenv(const fenv_t *penv);
}