Following Congestion avoidance and control by V. Jacobson at https://dl.acm.org/doi/10.1145/52324.52356, use integer math instead of floating point. Not that it matters, but it results in some code size savings, and is more efficient. Due to not using floating point math, some golden values in test cases were rounded a bit differently. Bug: webrtc:12614 Change-Id: I0b7d54b8fd9ce7156e6b2582437ef5720f8838ea Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231229 Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Victor Boivie <boivie@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34956}