luochuang1 / enh

Automatically exported from code.google.com/p/enh
0 stars 0 forks source link

[mathdroid] binary arithmetic less satisfying than decimal arithmetic #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Calculate 1-0.8413
2. Or anything between 1-0.8409 and 1-0.8416

What is the expected output? What do you see instead?
For 1-0.8413 should be 0.1587, shows something like 0.158699999995

What version of the product are you using? On what operating system?
Android 2.2 most recent version so far

Please provide any additional information below.

Original issue reported on code.google.com by hle.jussila on 2 Oct 2010 at 3:57

GoogleCodeExporter commented 9 years ago
Issue 21 has been merged into this issue.

Original comment by elliott....@gmail.com on 26 Feb 2011 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by elliott....@gmail.com on 26 Feb 2011 at 10:30

GoogleCodeExporter commented 9 years ago
should be fixed in Mathdroid 2.6 by switching to decimal rather than binary 
arithmetic. apologies for not realizing i hadn't released this fix for over a 
year. how embarrassing.

Original comment by elliott....@gmail.com on 2 Sep 2012 at 9:29