syncthing/syncthing — pull request #632 by pyfisch (2014-09-05 10:24:26+00:00)
Title: Use Math.pow for gui  `metric` and `binary` filters.

Compared to writing `1024 * 1024 * 1024` `Math.pow(10, 9)` is much easier to understand and more standard.

By the way, why are we using binary values for sizes but metric values for transmission rates?