Home
last modified time | relevance | path

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

/external/catch2/include/internal/
Dcatch_matchers_floating.cpp100 WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType) in WithinUlpsMatcher() argument
101 :m_target{ target }, m_ulps{ ulps }, m_type{ baseType } { in WithinUlpsMatcher()
102 CATCH_ENFORCE(ulps >= 0, "Invalid ULP setting: " << ulps << '.'
Dcatch_matchers_floating.h32 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp12275 …rtual double getMin (double value, double ulps) { return value - floatFormat16.ulp(deAbs(val… in getMin()
12276 …rtual double getMax (double value, double ulps) { return value + floatFormat16.ulp(deAbs(val… in getMax()
12681 …const double ulps (64 * (1.0 + 2 * deAbs(d))); // This is not a precision test. Value is not from … in calc() local
12688 error = floatFormat16.ulp(deAbs(result), ulps); in calc()
12698 …error = deAbs(floatFormat16.ulp(epx.asDouble(), ulps)) + deAbs(floatFormat16.ulp(enx.asDouble(), u… in calc()
12726 …const double ulps (64 * (1.0 + 2 * deAbs(d))); // This is not a precision test. Value is not from … in calc() local
12748 min[0] = result - floatFormat16.ulp(deAbs(result), ulps); in calc()
12749 max[0] = result + floatFormat16.ulp(deAbs(result), ulps); in calc()
12816 const double ulps (getULPs(in)); in calc() local
12819 const double epxmerr = floatFormat16.ulp(epxm, ulps); in calc()
[all …]
/external/arm-optimized-routines/test/
Dmathtest.c967 void print_ulps_helper(const char *name, long long ulps, char** failp) { in print_ulps_helper() argument
968 if(ulps == LLONG_MAX) { in print_ulps_helper()
971 *failp += sprintf(*failp, " %s=%.3f", name, (double)ulps / ULPUNIT); in print_ulps_helper()
/external/python/cpython2/Lib/test/
Dtest_math.py51 def ulps_check(expected, got, ulps=20): argument
58 if abs(ulps_error) <= ulps:
61 ulps)
/external/python/cpython3/Lib/test/decimaltestdata/
DdqAdd.decTest467 -- negative ulps
500 -- negative ulps
DddAdd.decTest443 -- negative ulps
476 -- negative ulps
Dadd.decTest459 -- negative ulps
496 -- negative ulps
1971 -- negative ulps
2004 -- negative ulps
Dfma.decTest1217 -- negative ulps
1254 -- negative ulps
2682 -- negative ulps
2715 -- negative ulps
DddFMA.decTest954 -- negative ulps
987 -- negative ulps
DdqFMA.decTest977 -- negative ulps
1010 -- negative ulps
/external/python/cpython2/Lib/test/decimaltestdata/
DdqAdd.decTest467 -- negative ulps
500 -- negative ulps
DddAdd.decTest443 -- negative ulps
476 -- negative ulps
Dadd.decTest459 -- negative ulps
496 -- negative ulps
1971 -- negative ulps
2004 -- negative ulps
Dfma.decTest1217 -- negative ulps
1254 -- negative ulps
2682 -- negative ulps
2715 -- negative ulps
DdqFMA.decTest977 -- negative ulps
1010 -- negative ulps
DddFMA.decTest954 -- negative ulps
987 -- negative ulps
/external/catch2/single_include/catch2/
Dcatch.hpp3058 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);
9369 WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType) in WithinUlpsMatcher() argument
9370 :m_target{ target }, m_ulps{ ulps }, m_type{ baseType } { in WithinUlpsMatcher()
9371 CATCH_ENFORCE(ulps >= 0, "Invalid ULP setting: " << ulps << '.'
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1838 precision (ulps) whenever possible. See :issue:`1381` for the
/external/python/cpython3/Doc/whatsnew/
D2.6.rst1842 precision (ulps) whenever possible. See :issue:`1381` for the