Merge branch 'master' into patch-1

This commit is contained in:
Matt Cooley 2019-03-07 06:46:48 -08:00 committed by GitHub
commit 908dd3fa0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ These manual tests are run before every release of the Calculator app.
Steps: Steps:
1. From the Standard Calculator page, input “3”, “+”, “3”, “Enter” on the keyboard 1. From the Standard Calculator page, input “3”, “+”, “3”, “Enter” on the keyboard
Expected: “6” shows up in the display Expected: “6” shows up in the display
2. Input “4”, “-, “2”, “=” using the in-app buttons 2. Input “4”, “-, “2”, “=” using the in-app buttons
*Expected: “2” shows up in the display* *Expected: “2” shows up in the display*
**Test 2** **Test 2**
@ -31,7 +31,7 @@ Steps:
**Test 2** **Test 2**
Steps: Steps:
1. Input “5”, “n!, “=” using the in-app buttons 1. Input “5”, “n!, “=” using the in-app buttons
*Expected: “120” shows up in the display* *Expected: “120” shows up in the display*
### Math in Programmer Calculator ### Math in Programmer Calculator

View file

@ -235,7 +235,7 @@ void log10rat( PRAT *px, int32_t precision)
} }
// //
// return if the given x is even number. The assumption here is its numerator is 1 and we are testing the numerator is // return if the given x is even number. The assumption here is its denominator is 1 and we are testing the numerator is
// even or not // even or not
bool IsEven(PRAT x, uint32_t radix, int32_t precision) bool IsEven(PRAT x, uint32_t radix, int32_t precision)
{ {