MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / WithinUlpsMatcher

Class WithinUlpsMatcher

Bcore/src/main/cpp/Dobby/tests/catch.hpp:2245–2254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2243};
2244
2245struct WithinUlpsMatcher : MatcherBase<double> {
2246 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);
2247 bool match(double const &matchee) const override;
2248 std::string describe() const override;
2249
2250private:
2251 double m_target;
2252 int m_ulps;
2253 FloatingPointKind m_type;
2254};
2255
2256} // namespace Floating
2257

Callers 1

WithinULPFunction · 0.85

Calls

no outgoing calls

Tested by 1

WithinULPFunction · 0.68