Espacios de nombres
Variantes
Acciones

std::numeric_limits::radix

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 int radix
(hasta C++11)
static constexpr int radix
(desde C++11)
El valor de std::numeric_limits<T>::radix es la base del sistema de numeración utilizado en la representación del tipo. Es 2 para todos los tipos numéricos binarios, pero puede ser, por ejemplo, 10 para IEEE 754 decimales de punto flotante tipo o para enteros binary-coded decimal de terceros. Esta constante es significativa para todas las especialidades .
Original:
The value of std::numeric_limits<T>::radix is the base of the number system used in the representation of the type. It is 2 for all binary numeric types, but it may be, for example, 10 for IEEE 754 decimales de punto flotante tipo or for third-party binary-coded decimal integers. This constant is meaningful for all specializations.
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>::radix
Original:
value of std::numeric_limits<T>::radix
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
/* non-specialized */ 0
bool 2
char 2
signed char 2
unsigned char 2
wchar_t 2
char16_t 2
char32_t 2
short 2
unsigned short 2
int 2
unsigned int 2
long 2
unsigned long 2
long long 2
unsigned long long 2
float FLT_RADIX
double FLT_RADIX
long double FLT_RADIX

[editar] Ver también

[estático]
número de dígitos radix que pueden ser representadas sin cambio
Original:
number of radix digits that can be represented without change
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]
[estático]
más que la menor potencia negativa de la base de que es un válido punto flotante normalizado valor uno
Original:
one more than the smallest negative power of the radix that is a valid normalized 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.

(constante miembro pública estática) [editar]
[estático]
mayor que la máxima potencia entera de la base de que es válida finito valor de punto flotante uno
Original:
one more than the largest integer power of the radix that is a valid finite 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.

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