[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koffice/kspread
From: Thorsten Zachmann <t.zachmann () zagge ! de>
Date: 2007-06-25 6:38:51
Message-ID: 200706250838.51154.t.zachmann () zagge ! de
[Download RAW message or body]
On Sunday 24 June 2007, Tomas Mecir wrote:
> SVN commit 679765 by mecir:
>
> Floating-point values are now stored using the Number class, not doubles.
> Only minimal changes were done to make everything work, all computations
> are still done using ValueCalc.
>
> This is one of the steps on the way towards having high-precision
> computing support in KSpread. And faster formula evaluation too.
>
> There is a temporary function in the code, called numToDouble. All
> places that now call this function (mostly places that convert numbers
> to strings and such) must be converted somehow - until this is done,
> high-precision support won't be implementable.
>
> I hope this commit doesn't break things ... too much.
Could you also update the tests please. I have attached the compile error
message.
Thanks,
Thorsten
Building CXX object
kspread/tests/CMakeFiles/TestFinancialFunctions.dir/TestFinancialFunctions.o
Linking CXX shared module ../../lib/tableshape.so
/home/tz/develop/kde/svn/koffice/kspread/tests/TestFinancialFunctions.cpp: In
function ‘KSpread::Value RoundNumber(const KSpread::Value&)':
/home/tz/develop/kde/svn/koffice/kspread/tests/TestFinancialFunctions.cpp:41:
error: no matching function for call to ‘QString::number(KSpread::Number,
char, int)'
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:332:
note: candidates are: static QString QString::number(int, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:333:
note: static QString QString::number(uint, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:334:
note: static QString QString::number(long int, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:335:
note: static QString QString::number(ulong, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:336:
note: static QString QString::number(qlonglong, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:337:
note: static QString QString::number(qulonglong, int)
/home/tz/develop/kde/svn/qt-copy/include/QtCore/../../src/corelib/tools/qstring.h:338:
note: static QString QString::number(double, char, int)
make[2]: ***
[kspread/tests/CMakeFiles/TestFinancialFunctions.dir/TestFinancialFunctions.o]
Error 1
make[1]: *** [kspread/tests/CMakeFiles/TestFinancialFunctions.dir/all] Error 2
/home/tz/develop/kde/svn/koffice/kspread/tests/TestEngineeringFunctions.cpp:
In function 'KSpread::Value RoundNumber(const KSpread::Value&)':
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic