feholdexcept
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <<fenv.h>>
|
||
| int feholdexcept( fenv_t* envp ); |
(desde C99) | |
En primer lugar, guarda la coma flotante entorno al objeto apuntado por
envp (similar a fegetenv), luego borra todos los indicadores de estado de coma flotante, y luego instala el modo non-stop: el futuro excepciones de punto flotante no interrumpirá la ejecución ( no atrapará), hasta que el entorno de coma flotante está restaurado por feupdateenv o fesetenv .Original:
First, saves the current floating-point environment to the object pointed to by
envp (similar to fegetenv), then clears all floating-point status flags, and then installs the non-stop mode: future floating-point exceptions will not interrupt execution (will not trap), until the floating-point environment is restored by feupdateenv or fesetenv.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.
Esta función se puede utilizar en el inicio de una subrutina que debe ocultar las excepciones de punto flotante, que puede suscitar de la persona que llama. Si sólo algunas excepciones deben ser suprimidos, mientras que otros deben ser reportados, el modo non-stop por lo general termina con una llamada a feupdateenv después de eliminar las excepciones no deseados .
Original:
This function may be used in the beginning of a subroutine that must hide the floating-point exceptions it may raise from the caller. If only some exceptions must be suppressed, while others must be reported, the non-stop mode is usually ended with a call to feupdateenv after clearing the unwanted exceptions.
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.
Contenido |
[editar] Parámetros
| envp | - | puntero al objeto de fenv_t tipo donde el entorno de coma flotante almacenado
Original: pointer to the object of type fenv_t where the floating-point environment will be stored 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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| (C99) |
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) |
| (C99) |
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) |
| (C99) |
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. (macro constante) |
| C++ documentation for feholdexcept
| |