std::numeric_limits::is_exact
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 bool is_exact |
(fino al c++11) | |
static constexpr bool is_exact |
(dal C++11) | |
Il valore di
std::numeric_limits<T>::is_exact è true per tutti i tipi aritmetici T che utilizzano rappresentazione esatta. Original:
The value of
std::numeric_limits<T>::is_exact is true for all arithmetic types T that use exact representation. 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>::is_exact Original: value of std::numeric_limits<T>::is_exact 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
|
true
|
char
|
true
|
signed char
|
true
|
unsigned char
|
true
|
wchar_t
|
true
|
char16_t
|
true
|
char32_t
|
true
|
short
|
true
|
unsigned short
|
true
|
int
|
true
|
unsigned int
|
true
|
long
|
true
|
unsigned long
|
true
|
long long
|
true
|
unsigned long long
|
true
|
float
|
false
|
double
|
false
|
long double
|
false
|
Note
Mentre tutti i tipi fondamentali
T per i quali sono std::numeric_limits<T>::is_exact==true tipi interi, una biblioteca può definire tipi esatti che non sono numeri interi, ad esempio, un tipo razionale aritmetica rappresenta frazioni.Original:
While all fundamental types
T for which std::numeric_limits<T>::is_exact==true are integer types, a library may define exact types that aren't integers, e.g. a rational arithmetics type representing fractions.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.
Vedi anche
[statico] |
identifica i tipi interi Original: identifies integer types 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] |
identifica i tipi di firma Original: identifies signed types 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] |
identifies types that represent a finite set of values (pubblico membro statico costante) |