FP_NORMAL, FP_SUBNORMAL, FP_ZERO, FP_INFINITE, FP_NAN
Da 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. |
Definido no cabeçalho <math.h>
|
||
#define FP_NORMAL /*implementation defined*/ |
||
#define FP_SUBNORMAL /*implementation defined*/ |
||
#define FP_ZERO /*implementation defined*/ |
||
#define FP_INFINITE /*implementation defined*/ |
||
#define FP_NAN /*implementation defined*/ |
||
O
FP_NORMAL
, FP_SUBNORMAL
, FP_ZERO
, FP_INFINITE
, FP_NAN
macros cada um representa uma categoria distinta de números de ponto flutuante. Eles se expandem a uma expressão constante inteira.Original:
The
FP_NORMAL
, FP_SUBNORMAL
, FP_ZERO
, FP_INFINITE
, FP_NAN
macros each represent a distinct category of floating-point numbers. They all expand to an integer constant expression.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.
Constante
Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
FP_NORMAL
|
indica que o valor é normal', ou seja, não uma infinidade, subnormal, não--número um ou zero
Original: indicates that the value is normal, i.e. not an infinity, subnormal, not-a-number or zero The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
FP_SUBNORMAL
|
indica que o valor é' subnormal
Original: indicates that the value is subnormal The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
FP_ZERO
|
indica que o valor é zero positivo ou negativo
Original: indicates that the value is positive or negative zero The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
FP_INFINITE
|
indica que o valor não é representável pelo tipo subjacente (infinito positivo ou negativo)
Original: indicates that the value is not representable by the underlying type (positive or negative infinity) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
FP_NAN
|
indica que o valor não-a-se o número (NaN)
Original: indicates that the value is not-a-number (NaN) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Veja também
(C99) |
categoriza o valor determinado ponto flutuante Original: categorizes the given floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
C++ documentation for FP_categories
|