[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kcalc
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2004-03-30 22:18:03
Message-ID: 20040330221803.E3C9994A1 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Fix #71278 and introduce #78625 is not a good idea. Revert my changes. Sorry for beign that bad in maths.
M +2 -9 kcalc_core.cpp 1.85
--- kdeutils/kcalc/kcalc_core.cpp #1.84:1.85
@@ -859,5 +859,5 @@ void CalcEngine::StatSumSquares(CALCAMNT
void CalcEngine::Tangens(CALCAMNT input)
{
- CALCAMNT aux, tmp = input;
+ CALCAMNT tmp = input;
switch (_angle_mode)
@@ -874,11 +874,4 @@ void CalcEngine::Tangens(CALCAMNT input)
}
- aux = tmp;
- if (aux < 0) aux = -aux;
- while (aux > pi) aux -= pi;
- aux = aux - pi / 2;
- if (aux < 1e-18L)
- _error = true;
- else
_last_result = TAN(tmp);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic