std::numeric_limits::radix
Aus 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. |
<metanoindex/>
<tbody> </tbody> static const int radix |
(bis C + +11) | |
static constexpr int radix |
(seit C++11) | |
Der Wert
std::numeric_limits<T>::radix ist die Basis des Zahlensystems in der Darstellung des verwendeten Typs. Es ist 2 fr alle binren numerischen Typen, aber es kann sein, zum Beispiel, 10 fr IEEE 754 Decimal Floating-Point-Typen oder fr fremde binr-codierten Dezimalwert Ganzzahlen. Diese Konstante ist sinnvoll fr alle Spezialisierungen .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 Decimal Floating-Point-Typen or for third-party binr-codierten Dezimalwert 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.
Standard Spezialisierungen
T
|
Wert
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 |
Siehe auch
[statisch] |
Anzahl von Ziffern, die radix unverndert dargestellt werden kann 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. (public static Mitglied konstanten) |
[statisch] |
eine mehr als die kleinste negative Macht des Radix, die eine gltige normalisierten Gleitkomma-Wert ist 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. (public static Mitglied konstanten) |
[statisch] |
eine mehr als die grte ganze Macht der radix, die eine gltige endlichen Floating-Point-Wert ist 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. (public static Mitglied konstanten) |