std::numeric_limits::radix
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> static const int radix |
(fino al c++11) | |
static constexpr int radix |
(dal C++11) | |
Il valore del
std::numeric_limits<T>::radix è la base del sistema numerico utilizzato nella rappresentazione del tipo. È 2 per tutti i tipi numerici binari, ma può essere, per esempio, 10 per IEEE 754 decimali tipi a virgola mobile o per terzi interi codice binario decimale. Questa costante è significativo per tutte le specializzazioni.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 decimali tipi a virgola mobile or for third-party codice binario decimale 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.
You can help to correct and verify the translation. Click here for instructions.
Specializzazioni standard
T
|
valore di
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 |
Vedi anche
[statico] |
numero di cifre radix che possono essere rappresentati senza cambiamenti 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. (pubblico membro statico costante) |
[statico] |
oltre la più piccola potenza negativa della radice che è una valida virgola mobile normalizzato valore 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. (pubblico membro statico costante) |
[statico] |
maggiore della massima potenza intera della radice che è una valida finita valore a virgola mobile 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. (pubblico membro statico costante) |