summaryrefslogtreecommitdiff
path: root/math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp')
-rw-r--r--math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp b/math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp
deleted file mode 100644
index 67a660447bfd..000000000000
--- a/math/qtiplot/files/patch-qtiplot__src__plot2D__Log2ScaleEngine.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./qtiplot/src/plot2D/Log2ScaleEngine.cpp.orig 2009-10-18 10:44:49.000000000 +0400
-+++ ./qtiplot/src/plot2D/Log2ScaleEngine.cpp 2009-10-18 18:54:12.000000000 +0400
-@@ -160,8 +160,8 @@
- if ( numTicks > 10000 )
- numTicks = 10000;
-
-- const double lxmin = ::log2(interval.minValue());
-- const double lxmax = ::log2(interval.maxValue());
-+ const double lxmin = ::log(interval.minValue())*M_LOG2E;
-+ const double lxmax = ::log(interval.maxValue())*M_LOG2E;
- const double lstep = (lxmax - lxmin) / double(numTicks - 1);
-
- QwtValueList ticks;
-@@ -224,6 +224,6 @@
- QwtDoubleInterval Log2ScaleEngine::log2(
- const QwtDoubleInterval &interval) const
- {
-- return QwtDoubleInterval(::log2(interval.minValue()),
-- ::log2(interval.maxValue()));
-+ return QwtDoubleInterval(::log(interval.minValue())*M_LOG2E,
-+ ::log(interval.maxValue())*M_LOG2E);
- }