FreeBSD Manual Pages
std::numeri...round_error(3) C++ Standard Libary std::numeri...round_error(3) NAME std::numeric_limits::round_error - std::numeric_limits::round_error Synopsis static T round_error() throw(); (until C++11) static constexpr T round_error() noexcept; (since C++11) 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 near- est digit) to 1.0 (rounding to zero or to infinity). It is only meaningful if std::numeric_limits<T>::is_integer == false. Return value T std::numeric_limits<T>::round_error() /* non-specialized */ T() bool false char 0 signed char 0 unsigned char 0 wchar_t 0 char8_t (C++20) 0 char16_t (C++11) 0 char32_t (C++11) 0 short 0 unsigned short 0 int 0 unsigned int 0 long 0 unsigned long 0 long long (C++11) 0 unsigned long long (C++11) 0 float 0.5F double 0.5 long double 0.5L See also round_style identifies the rounding style used by the type [static] (public static member constant) http://cppreference.com 2022.07.31 std::numeri...round_error(3)
NAME | Synopsis | Return value | See also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::numeric_limits::round_error&sektion=3&manpath=FreeBSD+Ports+15.0>
