Skip to content

Update Calc Engine for new functions needed for keyboard refresh#662

Merged
joseartrivera merged 3 commits intomicrosoft:masterfrom
joseartrivera:joriv/keyboardcalcengine
Sep 30, 2019
Merged

Update Calc Engine for new functions needed for keyboard refresh#662
joseartrivera merged 3 commits intomicrosoft:masterfrom
joseartrivera:joriv/keyboardcalcengine

Conversation

@joseartrivera
Copy link
Copy Markdown
Contributor

Fixes #428

Spec for this change can be found here:
Update Calculator keyboard for greater consistency and extensibility

Description of the changes:

This PR includes only the Calc Engine changes for the keyboard refresh spec. The UI portion will be a separate PR.

  • Updated Calc Engine to support new functionality (sec, csc, cot, hyperbolic, inverse, floor, ceil, rand, log base x, new bit shifts, nand, xor.
  • Exposed property to know when to pivot on the Clear Entry button vs Clear button with the IsInputEmpty boolean

How changes were validated:

  • Manual testing
  • Unit tests added

Copy link
Copy Markdown
Contributor

@rudyhuyn rudyhuyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Good job with this PR! I've added some comments, let me know if you have questions!

@ghost ghost removed the needs author feedback label Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Calculator keyboard for greater consistency and extensibility

4 participants