Post Reply 
Accuracy of Free42 and DM42
12-20-2017, 08:26 PM
Post: #3
RE: Accuracy of Free42 and DM42
(12-20-2017 08:16 PM)Dieter Wrote:  Swiss Micros' DM42 now is available, and its firmware is based on Free42 Decimal. This reminds me of a remark (was it by Thomas Okken himself?), saying that Free42 works with 34 BCD arithmetics, but the implemented algorithms may not always be good for 34 digit accuracy.

So I started my good old 2014 version of Free42 Decimal, and indeed I got some results that were surprisignly inaccurate. For instance sin(45°) and cos(45°). These should equal √½.

Direct evaluation of the latter yields the correct value: 0,7071067811865475244008443621048490
This agrees with Wolfram Alpha and the WP34s.

But sin(45°) and cos(45°) both return 0,7071067811865475727373109293694142
This means only 16 correct digits and 18 digits of "numeric noise". In my Free42 version, that is.

So let me ask two questions:

- Does the above result only say that I'm using an outdated version of Free42 and current versions are more accurate, possibly with true 34-digit accuracy?

- How does the new DM42 behave in this regard?

Dieter

It sounds like you're using an old version, from before I added Werner Huysegoms' angle reduction logic for DEG- and GRAD-mode trigs.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Accuracy of Free42 and DM42 - Dieter - 12-20-2017, 08:16 PM
RE: Accuracy of Free42 and DM42 - Thomas Okken - 12-20-2017 08:26 PM
RE: Accuracy of Free42 and DM42 - Dieter - 12-20-2017, 08:36 PM
RE: Accuracy of Free42 and DM42 - grsbanks - 12-20-2017, 08:27 PM
RE: Accuracy of Free42 and DM42 - salvomic - 12-21-2017, 07:19 PM
RE: Accuracy of Free42 and DM42 - salvomic - 12-21-2017, 09:01 PM
RE: Accuracy of Free42 and DM42 - Dieter - 12-21-2017, 07:56 AM
RE: Accuracy of Free42 and DM42 - Dieter - 12-22-2017, 07:17 PM
RE: Accuracy of Free42 and DM42 - grsbanks - 12-21-2017, 08:53 AM
RE: Accuracy of Free42 and DM42 - Werner - 12-22-2017, 09:11 PM



User(s) browsing this thread: 14 Guest(s)