Home
last modified time | relevance | path

Searched refs:DBL_EPSILON (Results 1 - 25 of 64) sorted by relevance

123

/third_party/icu/icu4c/source/test/intltest/
H A Dunits_test.cpp545 // DBL_EPSILON is approximately 2.22E-16, and is the precision of double for in testComplexUnitsConverter()
548 U_ASSERT(1.0 + DBL_EPSILON > 1.0); in testComplexUnitsConverter()
549 U_ASSERT(2.0 - DBL_EPSILON < 2.0); in testComplexUnitsConverter()
550 U_ASSERT(2.0 + DBL_EPSILON == 2.0); in testComplexUnitsConverter()
576 2.0 - DBL_EPSILON, in testComplexUnitsConverter()
586 2.0 - 3 * DBL_EPSILON, in testComplexUnitsConverter()
588 // We expect 12*3*DBL_EPSILON inches (7.92e-15) less than 12. in testComplexUnitsConverter()
589 Measure(12 - 36 * DBL_EPSILON, MeasureUnit::createInch(status), status)}, in testComplexUnitsConverter()
592 // case it is somehow lacking, we'll allow a delta of 12 * DBL_EPSILON. in testComplexUnitsConverter()
593 12 * DBL_EPSILON}, in testComplexUnitsConverter()
[all...]
/third_party/skia/src/pathops/
H A 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()
/third_party/icu/icu4c/source/i18n/
H A Dunits_complexconverter.cpp167 int64_t flooredQuantity = static_cast<int64_t>(floor(quantity * (1 + DBL_EPSILON))); in convert()
252 int64_t carry = static_cast<int64_t>(floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON))); in applyRounder()
261 carry = static_cast<int64_t>(floor(unitsConverters_[j]->convertInverse(static_cast<double>(intValues[j])) * (1 + DBL_EPSILON))); in applyRounder()
/third_party/node/deps/icu-small/source/i18n/
H A Dunits_complexconverter.cpp174 flooredQuantity = static_cast<int64_t>(floor(quantity * (1 + DBL_EPSILON))); in convert()
254 int64_t carry = static_cast<int64_t>(floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON))); in applyRounder()
263 carry = static_cast<int64_t>(floor(unitsConverters_[j]->convertInverse(static_cast<double>(intValues[j])) * (1 + DBL_EPSILON))); in applyRounder()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dunits_complexconverter.cpp167 int64_t flooredQuantity = floor(quantity * (1 + DBL_EPSILON)); in convert()
247 int64_t carry = floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON)); in applyRounder()
256 carry = floor(unitsConverters_[j]->convertInverse(intValues[j]) * (1 + DBL_EPSILON)); in applyRounder()
/third_party/ffmpeg/libavfilter/
H A Daf_dynaudnorm.c380 double max = DBL_EPSILON; in find_peak_magnitude()
422 return fmax(sqrt(rms_value), DBL_EPSILON); in compute_frame_rms()
430 const double rms_gain = s->target_rms > DBL_EPSILON ? (s->target_rms / compute_frame_rms(frame, channel)) : DBL_MAX; in get_max_local_gain()
562 if ((threshold > DBL_EPSILON) && (threshold < (1.0 - DBL_EPSILON))) { in setup_compress_thresh()
566 while (step_size > DBL_EPSILON) { in setup_compress_thresh()
605 return fmax(sqrt(variance), DBL_EPSILON); in compute_frame_std_dev()
662 if (s->dc_correction || s->compress_factor > DBL_EPSILON) { in analyze_frame()
693 if (s->compress_factor > DBL_EPSILON) in analyze_frame()
811 dst_ptr[i] = s->alt_boundary_mode ? DBL_EPSILON in flush_buffer()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/math/
H A Dsignificand.c22 if (!(fabs(a - b) < DBL_EPSILON)) \
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
H A Datof.c25 if (!(fabs(a - b) < DBL_EPSILON)) \
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Drintf.c8 #define EPS DBL_EPSILON
H A Dround.c4 #define EPS DBL_EPSILON
H A Drint.c6 #define EPS DBL_EPSILON
H A Dfloor.c4 #define EPS DBL_EPSILON
H A Dceil.c4 #define EPS DBL_EPSILON
/third_party/musl/porting/liteos_m/kernel/src/math/
H A Dfloor.c4 #define EPS DBL_EPSILON
H A Dround.c4 #define EPS DBL_EPSILON
/third_party/musl/src/math/
H A Dceil.c4 #define EPS DBL_EPSILON
H A Dfloor.c4 #define EPS DBL_EPSILON
H A Droundf.c6 #define EPS DBL_EPSILON
H A Dround.c4 #define EPS DBL_EPSILON
H A Drintf.c8 #define EPS DBL_EPSILON
H A Drint.c6 #define EPS DBL_EPSILON
/third_party/musl/porting/uniproton/kernel/include/
H A Dfloat.h31 #define DBL_EPSILON 2.22044604925031308085e-16 macro
/third_party/musl/porting/uniproton/kernel/src/math/
H A Dround.c4 #define EPS DBL_EPSILON
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfloat.h31 #define DBL_EPSILON 2.22044604925031308085e-16 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfloat.h31 #define DBL_EPSILON 2.22044604925031308085e-16 macro

Completed in 9 milliseconds

123