<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">here are two files which I used to run some preliminary tests. Still have to<br>
workout a proper suite of unit test cases plus its integration into the<br>
package. Will do so as time permits.<br>
<br>
Drop the two files into the same directory you have checked-out the alkimia<br>
files. Make sure to name your build directory for alkimia 'build' right<br>
underneath the source directory and simply run<br></blockquote><div><br>Sweet, thanks Thomas - very helpful, that answered my question :) One thing I did however notice, just a little heads up that you're probably already aware of, is that the variable D appears to get initialized to 5 8/16, but the result is 17/2 as opposed to 11/2. E as well, it appears to get initialized to -8/32 but the result is the absolute value? Are those just temporary bugs or maybe I'm not understanding something with that particular constructor's purpose? <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Here's how this looks on my box:<br>
<br>
thb@thb-nb:~/devel/alkimia/libalkimia> ls<br>
alkvalue.cpp alkvalue.h build CMakeLists.txt main.cpp Makefile<br>
<br>
thb@thb-nb:~/devel/alkimia/libalkimia> make<br>
g++ -I/usr/include/Qt -I/usr/include/QtCore -c -o main.o main.cpp<br>
g++ -o main main.o -Lbuild/lib -lalkimia -lQtCore -lstdc++<br>
<br>
thb@thb-nb:~/devel/alkimia/libalkimia> ./main<br>
C='-3/4'<br>
C='3/4'<br>
A='123'<br>
A='1/4'<br>
<br>
A='8687021468732621/70368744177664'<br>
<br>
A='217175536718315525/17592186044416'<br>
A='12345/100'<br>
B='621/5'<br>
B='124'<br>
D='17/2'<br>
E='1/4'<br>
F='1/2'<br>
F='-1'<br>
F='154321/125'<br>
a == b = 0<br>
a < b = 0<br>
a > b = 1<br>
Z='8687021468732621/70368744177664'<br>
<br>
<br>
--<br>
<div class="im"><br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA<br>
-------------------------------------------------------------<br>
</div>Real Programmers don't write in PL/I. PL/I is for programmers who<br>
can't decide whether to write in COBOL or FORTRAN.<br>
-------------------------------------------------------------<br>
<br>_______________________________________________<br>
Kde-finance-apps mailing list<br>
<a href="mailto:Kde-finance-apps@kde.org">Kde-finance-apps@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-finance-apps" target="_blank">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a><br>
<br></blockquote></div><br>