mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
908dd3fa0a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue