summaryrefslogtreecommitdiff
path: root/components/disk.c
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-19 20:09:38 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-19 20:14:09 +0200
commit68a3902dc533a66c1377409b34904f730ae4a7ef (patch)
treed6ff347b6b93e4fd1f7b0eabf8c8b80702de0d03 /components/disk.c
parent422cadfd5ffd78ae1b8fdf15734e03bd0333b26e (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/disk.c')
0 files changed, 0 insertions, 0 deletions