Searched refs:WithinUlpsMatcher (Results 1 – 5 of 5) sorted by relevance
/external/catch2/include/internal/ |
D | catch_matchers_floating.cpp | 127 WithinUlpsMatcher::WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType) in WithinUlpsMatcher() function in Catch::Matchers::Floating::WithinUlpsMatcher 140 bool WithinUlpsMatcher::match(double const& matchee) const { in match() 155 std::string WithinUlpsMatcher::describe() const { in describe() 206 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff) { in WithinULP() 207 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double); in WithinULP() 210 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff) { in WithinULP() 211 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Float); in WithinULP()
|
D | catch_matchers_floating.h | 28 struct WithinUlpsMatcher : MatcherBase<double> { struct 29 WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType); 57 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff); argument 58 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff);
|
/external/catch2/docs/ |
D | matchers.md | 87 are `WithinAbsMatcher`, `WithinUlpsMatcher` and `WithinRelMatcher`. 93 The `WithinUlpsMatcher` matcher accepts floating point numbers that are
|
/external/libabigail/tests/lib/ |
D | catch.hpp | 3434 struct WithinUlpsMatcher : MatcherBase<double> { struct 3435 WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType); 3463 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff); 3464 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff); 11522 WithinUlpsMatcher::WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType) in WithinUlpsMatcher() function in Catch::Matchers::Floating::WithinUlpsMatcher 11535 bool WithinUlpsMatcher::match(double const& matchee) const { in match() 11550 std::string WithinUlpsMatcher::describe() const { in describe() 11599 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff) { in WithinULP() 11600 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double); in WithinULP() 11603 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff) { in WithinULP() [all …]
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 3408 struct WithinUlpsMatcher : MatcherBase<double> { struct 3409 WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType); 3437 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff); 3438 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff); 11460 WithinUlpsMatcher::WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType) in WithinUlpsMatcher() function in Catch::Matchers::Floating::WithinUlpsMatcher 11473 bool WithinUlpsMatcher::match(double const& matchee) const { in match() 11488 std::string WithinUlpsMatcher::describe() const { in describe() 11537 Floating::WithinUlpsMatcher WithinULP(double target, uint64_t maxUlpDiff) { in WithinULP() 11538 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double); in WithinULP() 11541 Floating::WithinUlpsMatcher WithinULP(float target, uint64_t maxUlpDiff) { in WithinULP() [all …]
|