diff options
author | Laslo Hunhold <dev@frign.de> | 2018-05-19 20:09:38 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-19 20:14:09 +0200 |
commit | 763e115afd6eefd41f0259787d188ee0aedef063 (patch) | |
tree | d6ff347b6b93e4fd1f7b0eabf8c8b80702de0d03 /components/volume.c | |
parent | 9a07ac6f6d76e6a97429f5295df3b9c8e10b6b30 (diff) |
Increase precision in netspeeds.c
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.
Diffstat (limited to 'components/volume.c')
0 files changed, 0 insertions, 0 deletions