That gives: 42.840000
That gives: 42.840000
Did you compile Qt yourself or do you use some precompiled package? What exact architecture do you have? x86?
Yes it is x86 and I did compile Qt myself as I could only find Qt 3 for FreeBSD 4.8 in package format.
Thanks
mAx
Some ARM installations have floating point implementations that are not fully IEEE-compliant. In Qt/Embedded 3.3.x, this causes QString::number(double) and related functions to give incorrect results. A fix for this was introduced in Qt 3.3.2: defining the macro QT_QLOCALE_USES_FCVT will make Qt use system library code instead, i.e:
./configure -embedded arm -DQT_QLOCALE_USES_FCVT ...
i am in the face of this problem,i have added the macro,but it doesn't work.
Bookmarks