Bug 811122 - Use double addition in AddOperation to avoid signed integer overflow. r=bhackett

--HG--
extra : rebase_source : 16bbb1470021c1e26730cdd329a528467827ec12