Merge: Calculator refactor & numerics proposition
authorJean Privat <jean@pryen.org>
Thu, 28 Aug 2014 05:15:41 +0000 (01:15 -0400)
committerJean Privat <jean@pryen.org>
Thu, 28 Aug 2014 05:15:41 +0000 (01:15 -0400)
commit4d4faafac6487928ede5ee889b4ba98bf517fd3a
treea8f10b6fef7c8e1679166b902f3c8579a5b7bd73
parent1b97ef55c8dda55dbdc4a7ba90566f8a95dc651d
parentdb8a6f3d40adee6bcf14c073f1c60f90b0c407ff
Merge: Calculator refactor & numerics proposition

* Modularize calculator.nit into 3 modules and move to a project structure.
* Rewrite the code behind the displayed string.
* Use numerics to switch nicely between `Float` and `Int`
* No more weird bug with the C button.

The Android UI will follow in another PR.

Pull-Request: #646
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>