FP_NORMAL, FP_SUBNORMAL, FP_ZERO, FP_INFINITE, FP_NAN
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 <cmath>
|
||
#define FP_NORMAL /*implementation defined*/ |
(desde C++11) | |
#define FP_SUBNORMAL /*implementation defined*/ |
(desde C++11) | |
#define FP_ZERO /*implementation defined*/ |
(desde C++11) | |
#define FP_INFINITE /*implementation defined*/ |
(desde C++11) | |
#define FP_NAN /*implementation defined*/ |
(desde C++11) | |
El
FP_NORMAL
, FP_SUBNORMAL
, FP_ZERO
, FP_INFINITE
, FP_NAN
macros representan cada uno una categoría distinta de números de punto flotante. Todos se expandirá a una expresión constante entera .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.
Constant
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 el valor es normal, es decir, no un infinito, subnormal, no un número-o cero
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 el valor es inferior a la normal'
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 el valor es cero positivo o 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 el valor no es representable por el tipo subyacente (infinito positivo o 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 el valor no-un número-es (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] Ver también
(C++11) |
clasifica el valor dado en coma flotante 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. (función) |