summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusintegrator.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-18 13:49:49 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-24 23:35:11 +0000
commitc9697677f4bd8e94f5367deab540b90e60e898a5 (patch)
tree2a65c5743d77f1dfa6d3a2bab682bc651764aafc /src/dbus/qdbusintegrator.cpp
parentd72da0b4b2ee089156d1bd614523838b1635bbf5 (diff)
Use a power of two division factor
Using a power of 2 instead of power of 10 means the result of the division can be accurately represented as a floating point instead of being an approximation that could lead to rounding errors. Change-Id: I8910c06113ec6b69c60ff95d59894bfb56133186 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusintegrator.cpp')
0 files changed, 0 insertions, 0 deletions