mozilla-b2g/gaia — pull request #6934 by KevinGrandon (2012-12-11 02:55:21+00:00)
Title: Bug 798478 - fixes for very large/very small numbers in calculator

This pull request reworks calculator display logic for decimal, very large, and very small numbers.

Large exponential numbers were not being shown, and calculations against them were not working before. We now display these numbers as: 1e+21 (Large number), and 1e-21 (Small number). In order to work with our string postfix handling, it parses out these notations and turns them into a string.