webrtc/rtc_base/units
Danil Chapovalov f4b21da965 Extend DivideRoundToNearest to support negative numbers and use for UnitBase
UnitBase own function to divide with rounding overflows when dividend is close to the max int64_t

Bug: b/262999013
Change-Id: I5b0c3f4408165a0f03690cab80bd098e506fc984
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288521
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38943}
2022-12-22 11:02:29 +00:00
..
BUILD.gn Extend DivideRoundToNearest to support negative numbers and use for UnitBase 2022-12-22 11:02:29 +00:00
OWNERS Adds srte@ as OWNER of units. 2019-06-05 15:08:57 +00:00
unit_base.h Extend DivideRoundToNearest to support negative numbers and use for UnitBase 2022-12-22 11:02:29 +00:00
unit_base_unittest.cc Make webrtc units division by integer constexpr 2022-06-17 10:34:09 +00:00