Skip to content

[network] Issue 264: Improve rounding behavior of CalculateBytesTxTime and CalculateBitsTxTime

See Issue 264 for background -- this applies the fix suggested by @tommypec to both DataRate::CalculateBitsTxTime and DataRate::CalculateBytesTxTime

Fixes the test case in the issue and doesn't seem to break anything else.

Merge request reports