FLT_ROUNDS
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. |
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <float.h>
|
||
#define FLT_ROUNDS /* implementation defined */ |
(desde C99) | |
Especifica a direção de arredondamento de operações aritméticas em ponto flutuante.
Original:
Specifies the rounding direction of floating-point arithmetic operations.
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.
Valor
Original: Value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
-1
|
a direcção de arredondamento padrão não é conhecido
Original: the default rounding direction is not known The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
0
|
para zero
Original: toward zero The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
1
|
para mais próximo
Original: to nearest The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
2
|
para o infinito positivo
Original: towards positive infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
3
|
para o infinito negativo
Original: towards negative infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| other values | aplicação definida comportamento
Original: implementation-defined behavior The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Veja também
C++ documentation for FLT_ROUNDS
|