-
-
Notifications
You must be signed in to change notification settings - Fork 47
memory operator #268
Copy link
Copy link
Open
Labels
feature requestIssue is about a new feature or improving existing feature/behavior.Issue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take upIssue is not yet ready for PR authors to take up
Metadata
Metadata
Assignees
Labels
feature requestIssue is about a new feature or improving existing feature/behavior.Issue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take upIssue is not yet ready for PR authors to take up
Checklist
Feature description
Memory operator -- stores current value in memory or recalls value stored in memory
Multiple ways this could be implemented...
Implementation #1
· button: M or clipboard
· Long press button →store value
· Tap button → recall value
· M could be an outline when empty and filled when it has a value
Implementation #2:
· button: M or {into box and out of box}
· If current input is a value →store value
· If current input is an operator or is empty →recall value
Implementation #3:
· button: M+
· tap button →add value to memory
· long press button →recall value and clear
Additional thoughts
· The memory button could replace the largely broken percent button
· the memory could simply be the clipboard. If so, the icon could change based on current behavior -- and arrow pointing in to the clipboard to copy and and arrow pointing out to paste (if implementation #2 is used)
Why do you want this feature?
Allows for complex calculations without implementing stuff like equations and parenthesis...
Additional information
This relatively simple feature would make the calculator significantly more powerful. Use examples:
Pythagorean calculation:
12*12 = store clear 13*13 + recall = store clear sqrt recall =(1+2)*(3+4)/5 → 1+2 = store clear 3+4=*recall=/5=