calculator/src
Rudy Huyn 7a7ceb5888 Modify how modulo is calculated in Normal and Scientific mode. (#412)
## Fixes #111

> The modulo operator on this calculator gives the result that is different to the most used calculators.

The current `modrate` function is the equivalent of rem(...)/remainder(...), not mod(...)/modulo(...) available in some popular Math apps. 

### Description of the changes:
- rename `modrate` in `remrate` to be more accurate.
- add `modrate`, calculating modulo similarly to Matlab, Bing, Google calculator, Maxima, Wolfram Alpha and Microsoft Excel 
- Add `RationalMath::Mod` using `modrate` as an alternative to `Rational::operator%` using `remrate`
- Add a helper `SIGN` to retrieve the sign of a `Rational`.
- modify `CalcEngine` to use `modrate` in Normal and Scientific mode and `remrate` in Programmer mode.

### How changes were validated:
- manually and unit tests added
2019-04-16 17:17:24 -07:00
..
build Hello GitHub 2019-01-28 16:24:37 -08:00
CalcManager Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
Calculator Improve the support of Narrator with parenthesis (#368) 2019-04-15 09:31:02 -07:00
CalculatorUnitTests Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
CalcViewModel Keep input when users refresh currency rates (#369) 2019-04-16 11:29:43 -07:00
Calculator.sln Remove .editorconfig from sln (#290) 2019-03-13 12:50:23 -07:00
nuget.config updating nuget.org source to point to V3 (#129) 2019-03-07 07:33:22 -08:00
Settings.XamlStyler Hello GitHub 2019-01-28 16:24:37 -08:00