Home
last modified time | relevance | path

Searched refs:DBL_EPSILON (Results 1 – 25 of 38) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.cc114 32 * (DBL_EPSILON * DBL_EPSILON > MathLimits<Type>::kEpsilon \
115 ? DBL_EPSILON * DBL_EPSILON : MathLimits<Type>::kEpsilon); \
Dmathutil.h75 return fabs(a - b) < 32 * DBL_EPSILON; in AlmostEquals()
/external/skia/src/pathops/
DSkLineParameters.h57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
105 fA = DBL_EPSILON; in quadEndPoints()
DSkPathOpsTypes.h317 const double DBL_EPSILON_ERR = DBL_EPSILON * 4; // FIXME: tune -- allow a few bits of error
318 const double DBL_EPSILON_SUBDIVIDE_ERR = DBL_EPSILON * 16;
383 return x == 0 || fabs(x) < fabs(y * DBL_EPSILON); in precisely_zero_when_compared_to()
/external/skqp/src/pathops/
DSkLineParameters.h57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
105 fA = DBL_EPSILON; in quadEndPoints()
DSkPathOpsTypes.h317 const double DBL_EPSILON_ERR = DBL_EPSILON * 4; // FIXME: tune -- allow a few bits of error
318 const double DBL_EPSILON_SUBDIVIDE_ERR = DBL_EPSILON * 16;
383 return x == 0 || fabs(x) < fabs(y * DBL_EPSILON); in precisely_zero_when_compared_to()
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dfloat3.c52 CHECK(rd - floating_1(f, d, ld) < DBL_EPSILON); in main()
69 CHECK(rd - floating_2(ld, d, f) < DBL_EPSILON); in main()
Dfloat1.c50 CHECK(result[0].d - dblit(f) < DBL_EPSILON); in main()
/external/libffi/testsuite/libffi.call/
Dfloat3.c52 CHECK(rd - floating_1(f, d, ld) < DBL_EPSILON); in main()
69 CHECK(rd - floating_2(ld, d, f) < DBL_EPSILON); in main()
Dfloat1.c50 CHECK(result[0].d - dblit(f) < DBL_EPSILON); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dfloat_h.pass.cpp148 #ifndef DBL_EPSILON
149 #error DBL_EPSILON not defined
/external/clang/lib/Headers/
Dfloat.h64 # undef DBL_EPSILON
118 #define DBL_EPSILON __DBL_EPSILON__ macro
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dcfloat.pass.cpp148 #ifndef DBL_EPSILON
149 #error DBL_EPSILON not defined
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Depsilon.pass.cpp57 test<double>(DBL_EPSILON); in main()
/external/libcxx/include/support/win32/
Dlimits_msvc_win32.h50 #define __DBL_EPSILON__ DBL_EPSILON
/external/libcxx/include/
Dcfloat61 DBL_EPSILON
/external/libcxx/include/support/ibm/
Dlimits.h74 #define __DBL_EPSILON__ DBL_EPSILON
/external/python/cpython2/Modules/
D_math.c236 if (fabs(x) < DBL_EPSILON/2.) { in _Py_log1p()
/external/python/cpython3/Modules/
D_math.c248 if (fabs(x) < DBL_EPSILON / 2.) { in _Py_log1p()
/external/libpng/contrib/libtests/
Dpngvalid.c6055 this->rede = this->redf * DBL_EPSILON; in image_pixel_setf()
6059 this->greene = this->greenf * DBL_EPSILON; in image_pixel_setf()
6063 this->bluee = this->bluef * DBL_EPSILON; in image_pixel_setf()
6067 this->alphae = this->alphaf * DBL_EPSILON; in image_pixel_setf()
7818 (fabs(o.red.Y - data.red_coefficient) > DBL_EPSILON || in image_transform_png_set_rgb_to_gray_set()
7819 fabs(o.green.Y - data.green_coefficient) > DBL_EPSILON || in image_transform_png_set_rgb_to_gray_set()
7820 fabs(o.blue.Y - data.blue_coefficient) > DBL_EPSILON)) in image_transform_png_set_rgb_to_gray_set()
7935 # define DD(v,d,r) (digitize(v*(1-DBL_EPSILON), d, r) * (1-DBL_EPSILON)) in image_transform_png_set_rgb_to_gray_mod()
7936 # define DU(v,d,r) (digitize(v*(1+DBL_EPSILON), d, r) * (1+DBL_EPSILON)) in image_transform_png_set_rgb_to_gray_mod()
8125 be * data.blue_coefficient + 2./32768 + gray * 5 * DBL_EPSILON; in image_transform_png_set_rgb_to_gray_mod()
[all …]
/external/blktrace/btt/
Dseek.c107 if ((sps->nseeks == 1) || (delta < DBL_EPSILON)) in sps_emit()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c211 return DBL_EPSILON; in lp_const_eps()
/external/eigen/Eigen/src/Core/util/
DMeta.h170 #define __DBL_EPSILON__ DBL_EPSILON
/external/libxcam/xcore/
Dvec_mat.h38 #ifndef DBL_EPSILON
39 #define DBL_EPSILON 2.2204460492503131e-16 // double macro
/external/lmfit/lib/
Dlmmin.c44 #define LM_MACHEP DBL_EPSILON /* resolution of arithmetic */

12