Espacios de nombres
Variantes
Acciones

fegetround, fesetround

De cppreference.com
< c‎ | numeric‎ | fenv
Definido en el archivo de encabezado <<fenv.h>>
int fesetround( int round );
(1) (desde C99)
int fegetround();
(2) (desde C++11)
1)
Los intentos para establecer la dirección de redondeo de punto flotante igual a la round argumento argumento, que se espera que sea una de las flotando macros punto de redondeo .
Original:
Attempts to establish the floating-point rounding direction equal to the argument argument round, which is expected to be one of the flotando macros punto de redondeo.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Devuelve el valor de la flotando macro punto de redondeo que corresponde a la dirección actual de redondeo .
Original:
Returns the value of the flotando macro punto de redondeo that corresponds to the current rounding direction.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

round -
dirección redondeo, uno de flotando macros punto de redondeo
Original:
rounding direction, one of flotando macros punto de redondeo
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

1)
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.
2)
la flotando macro punto de redondeo que describe la dirección actual de redondeo o un valor negativo si la dirección no se puede determinar
Original:
the flotando macro punto de redondeo describing the current rounding direction or a negative value if the direction cannot be determined
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

[editar] Ver también

entero más cercano usando el modo de redondeo actual
Original:
nearest integer using current rounding mode
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]
(C99)(C99)(C99)
entero más cercano usando el modo de redondeo actual con excepción
si el resultado es diferente
Original:
nearest integer using current rounding mode with
exception if the result differs
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]
Documentación de C++ para fegetround, fesetround