std::numeric_limits::has_infinity
Da cppreference.com
< cpp | types | numeric limits
![]() |
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. |
static const bool has_infinity |
(até C++11) | |
static constexpr bool has_infinity |
(desde C++11) | |
O valor da std::numeric_limits<T>::has_infinity é true para todos os tipos
T
capazes de representar o infinito positivo como um valor distinto especial. Esta constante é significativo para todos os tipos de ponto flutuante e é garantido para ser true se std::numeric_limits<T>::is_iec559 == true.Original:
The value of std::numeric_limits<T>::has_infinity is true for all types
T
capable of representing the positive infinity as a distinct special value. This constant is meaningful for all floating-point types and is guaranteed to be true if std::numeric_limits<T>::is_iec559 == true.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] Especializações padrão
T
|
valor de std::numeric_limits<T>::has_infinity
Original: value of std::numeric_limits<T>::has_infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
/* non-specialized */ | false |
bool | false |
char | false |
signed char | false |
unsigned char | false |
wchar_t | false |
char16_t | false |
char32_t | false |
short | false |
unsigned short | false |
int | false |
unsigned int | false |
long | false |
unsigned long | false |
long long | false |
unsigned long long | false |
float | geralmente true
Original: usually true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
double | geralmente true
Original: usually true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
long double | geralmente true
Original: usually true 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
[estática] |
retorna o valor infinito positivo do dado tipo de ponto flutuante Original: returns the positive infinity value of the given floating-point type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função public static membro) |
[estática] |
identifica tipos de ponto flutuante que podem representar o valor especial "tranquila, não-número um" (NaN) Original: identifies floating-point types that can represent the special value "quiet 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. (membro estático público constante) |
[estática] |
identifica tipos de ponto flutuante que podem representar o valor especial "de sinalização não-número um" (NaN) Original: identifies floating-point types that can represent the special value "signaling 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. (membro estático público constante) |