Espacios de nombres
Variantes
Acciones

Floating point environment

De cppreference.com
< c‎ | numeric
El entorno de punto flotante es el conjunto de indicadores de estado de coma flotante y modos de control soportados por la implementación. Es subproceso local, cada hilo hereda el estado inicial de su entorno de punto flotante de la rosca padre. Operaciones de punto flotante modificar los indicadores de estado de coma flotante para indicar los resultados anormales o información auxiliar. El estado de los modos de control de punto flotante afecta a los resultados de algunas operaciones de punto flotante .
Original:
The floating-point environment is the set of floating-point status flags and control modes supported by the implementation. It is thread-local, each thread inherits the initial state of its floating-point environment from the parent thread. Floating-point operations modify the floating-point status flags to indicate abnormal results or auxiliary information. The state of floating-point control modes affects the outcomes of some floating-point operations.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
El acceso a las instalaciones de punto flotante y la modificación sólo tiene sentido cuando se establece #pragma STDC FENV_ACCESS ON. De lo contrario la aplicación es libre de asumir que coma flotante modos de control son siempre los que vienen por defecto y que los indicadores de estado de coma flotante nunca se han comprobado o modificado. En la práctica, son pocos los compiladores actuales apoyan la #pragma explícitamente, pero la mayoría de los compiladores permiten un acceso significativo al medio ambiente de punto flotante de todos modos .
Original:
The floating-point environment access and modification is only meaningful when #pragma STDC FENV_ACCESS is set to ON. Otherwise the implementation is free to assume that floating-point control modes are always the default ones and that floating-point status flags are never tested or modified. In practice, few current compilers support the #pragma explicitly, but most compilers allow meaningful access to the floating-point environment anyway.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Tipos

Definido en el archivo de encabezado <fenv.h>
fenv_t
El tipo de representación de la totalidad de punto flotante ambiente
Original:
The type representing the entire 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.
fexcept_t
El tipo de representación de todos los indicadores de estado de coma flotante de forma colectiva
Original:
The type representing all floating-point status flags collectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] 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]
obtiene o establece la dirección redondeo
Original:
gets or sets rounding direction
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]
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]

[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]