Sunset Lake Software - Comments for "Digital precision glitch" http://www.sunsetlakesoftware.com/forum/digital-precision-glitch Comments for "Digital precision glitch" en Well, like I said, I don't http://www.sunsetlakesoftware.com/forum/digital-precision-glitch#comment-520 <p>Well, like I said, I don't consider this to be a large bug. And I can see there are other suggestions to the 'build.'</p> pubDate Sat, 17 Oct 2009 01:23:13 +0000 dc:creator jabates guid false comment 520 at http://www.sunsetlakesoftware.com All I can tell you is that http://www.sunsetlakesoftware.com/forum/digital-precision-glitch#comment-518 <p>All I can tell you is that it's something I've been thinking about for a while. My time estimates have been way off lately (a "simple" data model revamp has now taken me nearly two months to complete), so I don't want to promise anything yet.</p> pubDate Fri, 16 Oct 2009 15:58:22 +0000 dc:creator Brad Larson guid false comment 518 at http://www.sunsetlakesoftware.com I understand (now). That http://www.sunsetlakesoftware.com/forum/digital-precision-glitch#comment-516 <p>I understand (now). That makes sense.</p> <p>I'm not a software programmer--is there any estimate on when your own non-floating point implementations for the trig and exponential operations would be incorporated?</p> <p>I DON'T consider this to be a large bug and there may well be higher priorities on your 'to do' list!</p> pubDate Thu, 15 Oct 2009 22:37:52 +0000 dc:creator jabates guid false comment 516 at http://www.sunsetlakesoftware.com This is why I say "up to 34 http://www.sunsetlakesoftware.com/forum/digital-precision-glitch#comment-514 <p>This is why I say "up to 34 digits of decimal precision". I use the NSDecimal number type for performing most calculation operations, like addition, multiplication, etc., because it supports 34 digits of precision in most cases and because it does true decimal math, avoiding many common floating point errors. Unfortunately, I haven't yet created NSDecimal versions of the mathematical operations you describe above, so I have to drop the precision and work with normal floating point operations. The iPhone hardware does not support long double numbers either, so that further limits the precision of these operations.</p> <p>I'm working on my own non-floating-point implementations of these trigonometry and exponential operations. Sorry about the lack of precision in the meantime.</p> pubDate Thu, 15 Oct 2009 22:31:41 +0000 dc:creator Brad Larson guid false comment 514 at http://www.sunsetlakesoftware.com