Gaia/Calculator: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Status & Team==
* See: [https://docs.google.com/spreadsheet/ccc?key=0AiBigu584YY7dGlNSlY0QzhJb3M5anRBa1gxalV0Y3c#gid=0 B2G - Milestone 4 Plan]
==Design Specs==
==Design Specs==


==== Interaction ====
==== Interaction ====
* ...
* [https://www.dropbox.com/sh/ygwfxk6chpshxdj/sroLMzZI7n/Apps/Calculator Dropbox]


==== Visual ====
==== Visual ====
* [https://www.dropbox.com/sh/i175if5l8lth8x0/Y3ay1TB-Wc Dropbox]
* [https://www.dropbox.com/sh/i175if5l8lth8x0/Y3ay1TB-Wc Dropbox]
 
* [https://mozilla.app.box.com/s/wzgsb3lkqglv0dnfdgzs/1/864502372 Box]


== Requirements ==
== Requirements ==

Latest revision as of 00:08, 12 March 2014

Design Specs

Interaction

Visual

Requirements

General

  • I can see the equation I've entered
  • I can see the results of the current calculation

Basic Operations & Calculator functions

  • I can enter in a number with a maximum of N digits
  • I can change the sign of a number
  • I can enter in a decimal number
  • I can add two numbers together
  • I can subtract one number from the other
  • I can multiply two numbers together
  • I can divide a non-zero number from another number
  • I can clear an equation from the screen
  • I can clear the last digit of a number I just entered, as long as I haven't pressed an operator key yet

Extended Calculator functions (Might not need or want these features for v1)

  • I can perform an operation a second time by pressing the equals sign a second time.
  • I can convert the result from a percentage to a decimal value.
  • I can store a result in the calculator's memory
  • I can retrieve a result from the calculator's memory
  • I can clear the value in the calculator's memory
  • log/ln/e
  • ^
  • squareroot and root
  • Pi/tau
  • cos/sin/tan

Computation Cases

  • I'm informed that I can't divide a number by zero (cannot divide by zero)
  • I'm informed that I can't divide zero by zero (result is undefined)
  • I can view the result in exponential notation if the number is too large or too small to be displayed