mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 13:23:13 -07:00
Remove unnecessary 'using' statements.
This commit is contained in:
parent
87068043dc
commit
bc544abf22
3 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
||||||
#include "Header Files/scimath.h"
|
#include "Header Files/scimath.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace CalcEngine::RationalMath;
|
|
||||||
|
|
||||||
namespace CalcEngine
|
namespace CalcEngine
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace CalcEngine;
|
using namespace CalcEngine;
|
||||||
using namespace CalcEngine::RationalMath;
|
|
||||||
|
|
||||||
// NPrecedenceOfOp
|
// NPrecedenceOfOp
|
||||||
//
|
//
|
||||||
|
|
|
@ -66,7 +66,7 @@ CalcEngine::Rational CCalcEngine::TruncateNumForIntMath(CalcEngine::Rational con
|
||||||
// if negative make positive by doing a twos complement
|
// if negative make positive by doing a twos complement
|
||||||
result = result.Negate();
|
result = result.Negate();
|
||||||
result = result.Sub(1, m_precision);
|
result = result.Sub(1, m_precision);
|
||||||
result = result.Not(true, m_chopNumbers[m_numwidth], m_radix, m_precision);
|
result = result.Not(true /* IntegerMode */, m_chopNumbers[m_numwidth], m_radix, m_precision);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = result.And(m_chopNumbers[m_numwidth], m_radix, m_precision);
|
result = result.And(m_chopNumbers[m_numwidth], m_radix, m_precision);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue