jaor/xmobar — pull request #174 by rjmac (2014-06-28 01:23:49+00:00)
Title: Fix for CPU monitor on long-running systems

After running long enough, the numbers in /proc/stat get big enough
that they will not fit in a Float without loss of precision, which
leads to erratic results such as reporting "NaN%" CPU usage.

This commit simply keeps the numbers integral until producing the final
percentage result.