mozilla-b2g/gaia — pull request #2574 by lodr (2012-07-18 10:37:33+00:00)
Title: Bugfixing calc

## Overview

* NaN and infinite results did not raise any error: solved.
* Some expressions involving negatives such as 6-6-6 returned unexpected results. The problem was in the regular expression used to replace -X by (0-X): solved.
* Input lets introduce multiple decimal dots inside a number such as 6.6.6: now solved.

## Flaws and future work

* May be adding parenthesis.