Home
last modified time | relevance | path

Searched refs:FloatingPointKind (Results 1 – 3 of 3) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers_floating.cpp21 enum class FloatingPointKind : uint8_t { enum
100 WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType) in WithinUlpsMatcher()
114 case FloatingPointKind::Float: in match()
116 case FloatingPointKind::Double: in match()
128 … + " ULPs of " + ::Catch::Detail::stringify(m_target) + ((m_type == FloatingPointKind::Float)? "f"… in describe()
136 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double); in WithinULP()
140 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Float); in WithinULP()
Dcatch_matchers_floating.h20 enum class FloatingPointKind : uint8_t;
32 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);
38 FloatingPointKind m_type;
/external/catch2/single_include/catch2/
Dcatch.hpp3046 enum class FloatingPointKind : uint8_t;
3058 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);
3064 FloatingPointKind m_type;
9292 enum class FloatingPointKind : uint8_t { enum
9369 WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType) in WithinUlpsMatcher()
9383 case FloatingPointKind::Float: in match()
9385 case FloatingPointKind::Double: in match()
9397 … + " ULPs of " + ::Catch::Detail::stringify(m_target) + ((m_type == FloatingPointKind::Float)? "f"… in describe()
9403 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double); in WithinULP()
9407 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Float); in WithinULP()