◐ Shell
clean mode source ↗

std::feupdatedenv - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Definido en el archivo de encabezado <cfenv>

int feupdateenv( const std::fenv_t* envp )

(desde C++11)

En primer lugar, recuerda las actualmente planteadas excepciones de punto flotante, y luego restaura el entorno de coma flotante del objeto apuntado por envp (similar a std::fesetenv), luego levanta las excepciones de punto flotante que se guardaron .

Original:

First, remembers the currently raised floating-point exceptions, then restores the floating-point environment from the object pointed to by envp (similar to std::fesetenv), then raises the floating-point exceptions that were saved.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Esta función se puede utilizar para finalizar el modo non-stop establecido por una llamada anterior a std::feholdexcept .

Original:

This function may be used to end the non-stop mode established by an earlier call to std::feholdexcept.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

envp -

puntero al objeto de tipo std::fenv_t establecido por una llamada anterior a std::feholdexcept o std::fegetenv o igual a FE_DFL_ENV

Original:

pointer to the object of type std::fenv_t set by an earlier call to std::feholdexcept or std::fegetenv or equal to FE_DFL_ENV

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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.

Ver también

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]

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]

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]