std::round is not constexpr until c++23 and force conversion to floating point which is unnecessary for integer devision For integer division change rounding to 'round down' from 'round to nearest' as less surprising. Bug: webrtc:13756 Change-Id: I9c2382bafc9ddccb0f54d6e7bf8cac4f2a3175a1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/265863 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37250}