Inconsistent rightmost numbers in track BPM field
Bug #1017369 reported by
Sean M. Pappalardo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Low
|
RJ Skerry-Ryan | ||
1.11 |
Fix Released
|
Low
|
RJ Skerry-Ryan |
Bug Description
v1.11 r3287
To reproduce: Right-click a track, go to the BPM field, type in 10.12345678, click Apply, then go back in and notice that it now shows "10.12345695". Trying also with "10.11111111" results in "10.11111069". Likewise "10.1" results in "10.10000038".
I'm not sure if this is just roundoff error or not. But even if so, then we probably shouldn't allow 8 decimal places if we can't reliably handle that many.
Related branches
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is classic floating point value behavior. We should definitely be rounding the value in the widget to 2 or 3 places.