std::numeric_limits::epsilon
Aus cppreference.com
< cpp | types | numeric limits
![]() |
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. |
static T epsilon() |
(bis C + +11) | |
static constexpr T epsilon() |
(seit C++11) | |
Liefert die Maschine epsilon, das heißt, der Unterschied zwischen und dem nächsten 1.0 Wert darstellbar durch die Gleitkommatyp
T
. Es ist nur sinnvoll, wenn std::numeric_limits<T>::is_integer == false .Original:
Returns the machine epsilon, that is, the difference between 1.0 and the next value representable by the floating-point type
T
. 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
You can help to correct and verify the translation. Click