From 54c6b59f98dbc99e08d3a7d064d4fefefc9118fd Mon Sep 17 00:00:00 2001 From: Rudy Huyn Date: Thu, 4 Apr 2019 20:01:09 -0700 Subject: [PATCH] modify comments --- src/CalcManager/CEngine/Rational.cpp | 3 ++- src/CalcManager/CEngine/RationalMath.cpp | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CalcManager/CEngine/Rational.cpp b/src/CalcManager/CEngine/Rational.cpp index ea330ce1..c93c79a6 100644 --- a/src/CalcManager/CEngine/Rational.cpp +++ b/src/CalcManager/CEngine/Rational.cpp @@ -186,7 +186,8 @@ namespace CalcEngine /// Calculate the remainder after division, the sign of a result will match the sign of the current object. /// /// - /// This function has the same behavior as the standard C/C++ operator '%', to calculate the modulus after division instead, use instead. + /// This function has the same behavior as the standard C/C++ operator '%' + /// to calculate the modulus after division instead, use instead. /// Rational& Rational::operator%=(Rational const& rhs) { diff --git a/src/CalcManager/CEngine/RationalMath.cpp b/src/CalcManager/CEngine/RationalMath.cpp index 2e423898..f5de74fc 100644 --- a/src/CalcManager/CEngine/RationalMath.cpp +++ b/src/CalcManager/CEngine/RationalMath.cpp @@ -392,7 +392,9 @@ Rational RationalMath::ATanh(Rational const& rat) /// Calculate the modulus after division, the sign of the result will match the sign of b. /// /// -/// When one of the operand is negative, the result will differ from the C/C++ operator '%', use instead to calculate the remainder after division. +/// When one of the operand is negative +/// the result will differ from the C/C++ operator '%' +/// use instead to calculate the remainder after division. /// Rational RationalMath::Mod(Rational const& a, Rational const& b) {