summaryrefslogtreecommitdiff
path: root/components/wifi.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
commit763e115afd6eefd41f0259787d188ee0aedef063 (patch)
treed6ff347b6b93e4fd1f7b0eabf8c8b80702de0d03 /components/wifi.c
parent9a07ac6f6d76e6a97429f5295df3b9c8e10b6b30 (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/wifi.c')
0 files changed, 0 insertions, 0 deletions