Xinqi Bao's Git

Increase precision in netspeeds.c
authorLaslo Hunhold <[email protected]>
Sat, 19 May 2018 18:09:38 +0000 (20:09 +0200)
committerAaron Marcher <[email protected]>
Sat, 19 May 2018 18:14:09 +0000 (20:14 +0200)
First dividing by interval before multiplying with 1000 decreases the
precision by +-(interval - 1) * 1000, as interval arithmetic always
applies the Gauß-function to the result.

This is not necessary and simply reordering the operations mitigates
this.


No differences found