#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__numeric/float_equal.hpp>
float_equal_to<void>
- See also
- float_equal_to: function object implementing approximately equal of x and y
-
float_equal: Compare if two floating-points are approximately equal.
|
template<typename T , typename U , typename E = std::common_type_t<T, U>> |
constexpr auto | operator() (const T &a, const U &b, const E &e=vccc::epsilon< E >()) const -> decltype(std::declval< float_equal_to< std::common_type_t< T, U, E >> & >()(std::declval< const T & >(), std::declval< const U & >(), std::declval< const E & >())) |
|
◆ operator()()
constexpr auto operator() |
( |
const T & |
a, |
|
|
const U & |
b, |
|
|
const E & |
e = vccc::epsilon<E>() |
|
) |
| const -> decltype(std::declval<float_equal_to<std::common_type_t<T, U, E>>&>()(std::declval<const T&>(), std::declval<const U&>(), std::declval<const E&>()))
|
|
inlineconstexpr |
The documentation for this struct was generated from the following file: