#8389 closed bug (fixed)
Computation error
Reported by: | mmadia | Owned by: | jscipione |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/DeskCalc | Version: | R1/Development |
Keywords: | gsoc2012 | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
The following calculation 12*1058.33333333333333
will result in an error 127.
. To note, removing any single digit will allow DeskCalc to calculate it properly.
Noticed on hrev43819 - gcc2h.
Attachments (1)
Change History (7)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
by , 13 years ago
Attachment: | DeskCalcRoundingProblem.patch added |
---|
comment:3 by , 13 years ago
patch: | 0 → 1 |
---|
comment:4 by , 13 years ago
I assumed that Amanjot had forgotton all about this. If not, and they come back with an awesome patch then so much better. :)
The problem is that the function that rounds a calculated number to fit in the display window, in its eagerness to remove trailing zeros, forgets to check if they occur after or before the decimal point.
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in hrev43961 Thanks ahenriksson! Is this fix for GSOC?
comment:6 by , 13 years ago
Keywords: | gsoc2012 added |
---|
Note:
See TracTickets
for help on using tickets.
I am working on fixing this bug.