Home
last modified time | relevance | path

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

/dports/devel/cxxtools/cxxtools-2.2.1/test/
H A Dconvert-test.cpp41 bool nearBy(double v1, double v2, double e = 1e-6) in nearBy() function
259 CXXTOOLS_UNIT_ASSERT(nearBy(d, -2e-3)); in floatTest()
262 CXXTOOLS_UNIT_ASSERT(nearBy(d, -8e-5)); in floatTest()
265 CXXTOOLS_UNIT_ASSERT(nearBy(d, -3e-12)); in floatTest()
268 CXXTOOLS_UNIT_ASSERT(nearBy(d, -8.5e-23)); in floatTest()