Version: 1.0.0_devel (using KDE KDE 3.2.2) Installed from: RedHat RPMs OS: Linux The cursor position (or actual vector values when in datamode) are displayed in the statusbar at the bottom of a kst window. Sometimes normal notation and scientific notation are mixed in a strange way. For example: If the value of exactly 100 appears, it will display that as '1E+02', but as you move the cursor up it reads '101', '102', '103', etc., and down it reads '99', '98', '97'. Logically you would expect it to read '100'. I imagine this also happens at 1000, but I have not tried it. Expected behavior: It only switches to scientific notation when it 'makes sense to do so, ie for large and small values', and does not switch between the two needlessly or at intermediate values.
The cursor position is displayed using the 'G' format specifier which means it will use the shorter of the 'E' (1E+02) and 'f' (100) formats. For the situation described it should display 100 (as this is shorter than 1E+02). This is what I see when I reproduce the scenario described above. That said the 'G' format specifier was missing from the code in some places, and the default is 'g' (2E+04 instead of 2e+04).
Could you add more details so we can try and better reproduce the described problem. It is possible that round off error or something else is causing what you are seeing, but we would need more information to reproduce it.
On Tue, Aug 31, 2004 at 05:16:12PM -0000, Andrew Walker wrote: > Could you add more details so we can try and better reproduce the > described problem. It is possible that round off error or something > else is causing what you are seeing, but we would need more > information to reproduce it. I have not been able to reproduce it since. It probably was a weird roundoff issue. If I can reproduce it, I'll reopen.
Ooops, actually close the bug.