Gaia/Calculator: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "This is a placeholder page for the Calculator App. For now, this is a first pass at discussing potential requirements: [https://etherpad.mozilla.org/umgtFfiGuR Calculator App Re...")
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is a placeholder page for the Calculator App.
==Design Specs==


For now, this is a first pass at discussing potential requirements:
==== Interaction ====
[https://etherpad.mozilla.org/umgtFfiGuR Calculator App Requirements]
* [https://www.dropbox.com/sh/ygwfxk6chpshxdj/sroLMzZI7n/Apps/Calculator Dropbox]
 
==== Visual ====
* [https://www.dropbox.com/sh/i175if5l8lth8x0/Y3ay1TB-Wc Dropbox]
* [https://mozilla.app.box.com/s/wzgsb3lkqglv0dnfdgzs/1/864502372 Box]
 
== 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

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