VCCC  2024.05
VisualCamp Common C++ library
float_equal_to< T > Struct Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__numeric/float_equal.hpp>

Detailed Description

template<typename T = void>
struct vccc::float_equal_to< T >

See also
float_equal_to<void>:
float_equal: Compare if two floating-points are approximately equal.

Public Member Functions

constexpr bool operator() (const T &a, const T &b, const T &e=vccc::epsilon< T >()) const
 

Member Function Documentation

◆ operator()()

constexpr bool operator() ( const T &  a,
const T &  b,
const T &  e = vccc::epsilon<T>() 
) const
inlineconstexpr

The documentation for this struct was generated from the following file: