webrtc/rtc_base/numerics
Yves Gerey 14696c23d9 [Cleanup] Remove our own definition of M_PI.
* This is too brittle and might clash with MSVC's M_PI. See [1].
* We only used it once (in a unit test).
* We shouldn't use PI anyway [2].

Instead, pull it from <cmath> with _USE_MATH_DEFINES,
like it's already done in the code base.

[1] https://ci.chromium.org/p/webrtc/builders/try/win_x86_msvc_rel/6844
[2] https://tauday.com/tau-manifesto

Bug: webrtc:9855
Change-Id: I7a6976240604ef367ea07478d8cb5e4020e5dfeb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132548
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#27597}
2019-04-12 15:03:45 +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 Use std::pow in rtc_base/numerics. 2019-03-20 13:02: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 [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +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 [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +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 Optional: Use nullopt and implicit construction in /rtc_base 2017-11-27 10:17:52 +00:00
moving_median_filter.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_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 [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
percentile_filter_unittest.cc Use Abseil container algorithms in rtc_base/ 2019-03-25 22:08:06 +00:00
running_statistics.h Provide robust and efficient variance computation for online statistics. 2019-04-10 16:27:57 +00:00
running_statistics_unittest.cc Provide robust and efficient variance computation for online statistics. 2019-04-10 16:27:57 +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 Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_conversions.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_conversions_impl.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_minmax.h Fix typo in SafeClamp docs 2019-01-30 12:47:20 +00:00
safe_minmax_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
sample_counter.cc Expose video freeze metrics in GetStats. 2019-02-04 09:58:08 +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
samples_stats_counter.cc Provide robust and efficient variance computation for online statistics. 2019-04-10 16:27:57 +00:00
samples_stats_counter.h Provide robust and efficient variance computation for online statistics. 2019-04-10 16:27:57 +00:00
samples_stats_counter_unittest.cc Provide robust and efficient variance computation for online statistics. 2019-04-10 16:27:57 +00:00
sequence_number_util.h Reland "SeqNumUnwrapper::Unwrap now returns int64_t instead of uint64_t." 2019-03-19 17:02:27 +00:00
sequence_number_util_unittest.cc Reland "SeqNumUnwrapper::Unwrap now returns int64_t instead of uint64_t." 2019-03-19 17:02:27 +00:00