Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
uni20::check::FloatingULP< T > Struct Template Reference

ULP comparator for complex numbers over floating point. More...

#include <floating_eq.hpp>

Static Public Member Functions

static bool eq (T a, T b, std::int64_t max_ulps=4)
 
static bool eq (T const &a, T const &b, std::int64_t max_ulps=4)
 

Detailed Description

template<typename T>
requires UlpOrderedReal<T>
struct uni20::check::FloatingULP< T >

ULP comparator for complex numbers over floating point.

Member Function Documentation

◆ eq() [1/2]

template<typename T >
static bool uni20::check::FloatingULP< T >::eq ( T  a,
T  b,
std::int64_t  max_ulps = 4 
)
inlinestatic

◆ eq() [2/2]

template<typename T >
static bool uni20::check::FloatingULP< T >::eq ( T const &  a,
T const &  b,
std::int64_t  max_ulps = 4 
)
inlinestatic

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