branch: externals/wcheck-mode commit 841dc3b1a8c0ad2e84e6fc3cad5b8e7f49353559 Author: Teemu Likonen <tliko...@iki.fi> Commit: Teemu Likonen <tliko...@iki.fi>
Precalculate (expt 2 16): 65536 --- wcheck-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcheck-mode.el b/wcheck-mode.el index f85491d..427165b 100644 --- a/wcheck-mode.el +++ b/wcheck-mode.el @@ -2058,8 +2058,7 @@ The returned value is a floating point number." (high (nth 0 idle)) (low (nth 1 idle)) (micros (nth 2 idle))) - (+ (* high - (expt 2 16)) + (+ (* high 65536) low (/ micros 1000000.0))))