webrtc/rtc_base/numerics
Yves Gerey 54891af88d More lenient double comparison for RunningStatistics.FullSimpleTest
The test was failing (in a flaky fashion, interestingly), comparing:
* 50.5 whose mantissa is:
1001010000000000000000000000000000000000000000000000
* with 50.500000000000036 whose mantissa is:
1001010000000000000000000000000000000000000000000101

since EXPECT_DOUBLE_EQ() only allows 4 ULPs difference.
We don't need this kind of precision.

Bug: webrtc:11134
Change-Id: I811178b0762dbcd61d4f2d3f047ea0b59847fa57
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165761
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#30230}
2020-01-13 12:21:12 +00:00
..
divide_round.h Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
divide_round_unittest.cc Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
event_based_exponential_moving_average.cc Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_based_exponential_moving_average.h Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_based_exponential_moving_average_unittest.cc Add rtt estimate EventBasedExponentialMovingAverage to Connection 2019-11-28 09:24:44 +00:00
event_rate_counter.cc Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
event_rate_counter.h Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
exp_filter.cc Use std::pow in rtc_base/numerics. 2019-03-20 13:02:15 +00:00
exp_filter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
exp_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
histogram_percentile_counter.h Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
math_utils.h [Cleanup] Remove our own definition of M_PI. 2019-04-12 15:03:45 +00:00
mod_ops.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
mod_ops_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
moving_average.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_average.h Format almost everything. 2019-07-08 13:45:15 +00:00
moving_average_unittest.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_max_counter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
moving_max_counter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
moving_median_filter.h Format almost everything. 2019-07-08 13:45:15 +00:00
moving_median_filter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
percentile_filter.h Format almost everything. 2019-07-08 13:45:15 +00:00
percentile_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics.h Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics_unittest.cc More lenient double comparison for RunningStatistics.FullSimpleTest 2020-01-13 12:21:12 +00:00
safe_compare.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_compare_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
safe_conversions.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_conversions_impl.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_minmax.h Fix typo in SafeClamp docs 2019-01-30 12:47:20 +00:00
safe_minmax_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.h Expose video freeze metrics in GetStats. 2019-02-04 09:58:08 +00:00
sample_counter_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
sample_stats.cc Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
sample_stats.h Moves SampleStats and EventRateCounter to rtc_base/numerics 2019-12-02 07:46:48 +00:00
samples_stats_counter.cc Store timestamp for each sample to be able to plot them in future 2019-09-11 11:13:49 +00:00
samples_stats_counter.h Store timestamp for each sample to be able to plot them in future 2019-09-11 11:13:49 +00:00
samples_stats_counter_unittest.cc Fix flake in SamplesStatsCounterTest.FullSimpleTest 2019-08-23 11:56:02 +00:00
sequence_number_util.h Format almost everything. 2019-07-08 13:45:15 +00:00
sequence_number_util_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00