std::numeric_limits::round_error
De 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 T round_error() |
(avant C++11) | |
static constexpr T round_error() |
(depuis C++11) | |
Retourne la plus grande erreur d'arrondi possible dans ULPs (unités en dernier lieu) tel que défini par la norme ISO 10967, qui peut varier de 0,5 (arrondi au chiffre le plus proche) à 1,0 (arrondi à zéro ou à l'infini). Il n'a de sens que si
std::numeric_limits<T>::is_integer == false .Original:
Returns the largest possible rounding error in ULPs (units in the last place) as defined by ISO 10967, which can vary from 0.5 (rounding to the nearest digit) to 1.0 (rounding to zero or to infinity). It is only meaningful if
std::numeric_limits<T>::is_integer == false.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.
Retourne la valeur
T
|
std::numeric_limits<T>::round_error()
|
| /* non-specialized */ | T();
|
bool
|
false
|
char
|
0
|
signed char
|
0
|
unsigned char
|
0
|
wchar_t
|
0
|
char16_t
|
0
|
char32_t
|
0
|
short
|
0
|
unsigned short
|
0
|
int
|
0
|
unsigned int
|
0
|
long
|
0
|
unsigned long
|
0
|
long long
|
0
|
unsigned long long
|
0
|
float
|
0.5F
|
double
|
0.5
|
long double
|
0.5L
|
Exceptions
Voir aussi
[ statique ]Original: static The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
identifie le type d'arrondi utilisé par le type Original: identifies the rounding style used by the type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (constante membre statique publique) |