summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdeutils')
-rw-r--r--kde-base/kdeutils/files/kcalc-pow-casts.diff33
1 files changed, 0 insertions, 33 deletions
diff --git a/kde-base/kdeutils/files/kcalc-pow-casts.diff b/kde-base/kdeutils/files/kcalc-pow-casts.diff
deleted file mode 100644
index 2beafb91b087..000000000000
--- a/kde-base/kdeutils/files/kcalc-pow-casts.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: kcalc_core.cpp
-===================================================================
-RCS file: /home/kdecvs/kde/kdeutils/kcalc/kcalc_core.cpp,v
-retrieving revision 1.51
-diff -u -3 -p -r1.51 kcalc_core.cpp
---- kcalc/kcalc_core.cpp 22 May 2002 01:05:19 -0000 1.51
-+++ kcalc/kcalc_core.cpp 9 Jul 2002 14:43:39 -0000
-@@ -371,12 +371,12 @@ void QtCalculator::EnterDigit(int data)
- if (DISPLAY_AMOUNT < 0) {
- DISPLAY_AMOUNT = decimal_point ?
- DISPLAY_AMOUNT - ((CALCAMNT)data /
-- POW(current_base, decimal_point++)) :
-+ POW((CALCAMNT) current_base, decimal_point++)) :
- (current_base * DISPLAY_AMOUNT) - data;
- } else {
- DISPLAY_AMOUNT = decimal_point ?
- DISPLAY_AMOUNT + ((CALCAMNT)data /
-- POW(current_base, decimal_point++)) :
-+ POW((CALCAMNT) current_base, decimal_point++)) :
- (current_base * DISPLAY_AMOUNT) + data;
- }
- }
-@@ -402,8 +402,8 @@ void QtCalculator::SubtractDigit()
- DISPLAY_AMOUNT = floor(DISPLAY_AMOUNT);
- } else {
- --decimal_point;
-- DISPLAY_AMOUNT = floor(DISPLAY_AMOUNT * POW(current_base, decimal_point - 1)) /
-- POW(current_base, (decimal_point - 1));
-+ DISPLAY_AMOUNT = floor(DISPLAY_AMOUNT * POW((CALCAMNT) current_base, decimal_point - 1)) /
-+ POW((CALCAMNT) current_base, (decimal_point - 1));
- }
- } else {
- DISPLAY_AMOUNT = floor(DISPLAY_AMOUNT / current_base);