Amount widget +/- has floating point rounding artifacts #4500

issue laanwj opened this issue on July 9, 2014
  1. laanwj commented at 5:06 PM on July 9, 2014: member

    It goes from 21000000.00000000 to 20999999.99990001. The reason for this is that we use a QDoubleSpinWidget, and errors accumulate in the lower digits every time when subtracting the step.

    Solution: Instead of QDoubleSpinWidget we should create a spin widget subclass that uses fixed-point amounts.

  2. laanwj added the label GUI on Jul 9, 2014
  3. laanwj added the label Wallet on Jul 9, 2014
  4. laanwj referenced this in commit ac93f8a789 on Jul 18, 2014
  5. laanwj referenced this in commit f883ce499c on Jul 18, 2014
  6. laanwj referenced this in commit 74ce24bf18 on Jul 19, 2014
  7. laanwj referenced this in commit 0f07f41075 on Jul 19, 2014
  8. laanwj referenced this in commit 2c5f796c7f on Jul 21, 2014
  9. laanwj referenced this in commit 9cc77e5af2 on Jul 22, 2014
  10. laanwj referenced this in commit 91cce1732b on Jul 23, 2014
  11. laanwj commented at 11:56 AM on July 28, 2014: member

    Fixed by #4556

  12. laanwj closed this on Jul 28, 2014

  13. MathyV referenced this in commit 1aecf5a111 on Nov 24, 2014
  14. reddink referenced this in commit 2d06636da0 on May 27, 2020
  15. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me