fegetround, fesetround
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 fesetround( int round ); |
(1) | |
| int fegetround(); |
(2) | (desde C++11) |
Los intentos para establecer la dirección de redondeo de punto flotante igual a la
2) 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.
You can help to correct and verify the translation. Click here for instructions.
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.
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 .
2) 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.
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.
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) |
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) |
| (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) |
| C++ documentation for fegetround, fesetround
|

