Espacios de nombres
Variantes
Acciones

std::numeric_limits::has_infinity

De cppreference.com
 
 
Biblioteca de servicios
 
Apoyo de tipos
Tipos básicos
Tipos fundamentales
Tipos enteros de anchura fija (C++11)
Límites numéricos
Interfaz de C de límites numéricos
Información de tipo
en tiempo de ejecución
Rasgos de tipos
Categorías de tipos
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Propiedades de tipos
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(hasta C++20)
(C++11)(en desuso en C++20)
(C++11)
Constantes de rasgos de tipos
Metafunciones
(C++17)
Contexto de evaluación constante
Operaciones soportadas
Relaciones y consultas de propiedades
Modificaciones de tipos
(C++11)(C++11)(C++11)
Transformaciones de tipos
(C++11)
(C++11)
(C++17)
(C++11)(hasta C++20)(C++17)
 
std::numeric_limits
 
static const bool has_infinity
(hasta C++11)
static constexpr bool has_infinity
(desde C++11)
El valor de std::numeric_limits<T>::has_infinity es true para todo tipo T capaces de representar el infinito positivo como un valor especial distinto. Esta constante es significativa para todos los tipos de punto flotante y se garantiza que sea true si 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.

[editar] Especializaciones estándar

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
por lo general 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
por lo general 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
por lo general 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] Ver también

[estático]
devuelve el valor infinito positivo de lo dado tipo de punto flotante
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.

(función miembro estática pública) [editar]
[estático]
identifica tipos de punto flotante que puede representar el valor especial "tranquilo, no un número" (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.

(constante miembro pública estática) [editar]
identifica tipos de punto flotante que puede representar el valor especial "señalización no un número" (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.

(constante miembro pública estática) [editar]