|
-
Apr 15th, 2006, 06:31 PM
#1
Thread Starter
Member
Standard MC Calculator -> How does it get decimal accuracy for Sin/Cos?
Unfortunatetly I'm at a location where I can't test a few things out but I've always wondered how the MS calculator will get a more accurate result of Sin/Cos vs using Sin(x) in C# and/or other languages.
The default Sin function returns a double type, so how does one get that extra accuracy if it only returns a double?
-
Apr 15th, 2006, 10:50 PM
#2
Fanatic Member
Re: Standard MC Calculator -> How does it get decimal accuracy for Sin/Cos?
Hmmm, interesting question. Algorithms for high precision calculations have been around for years. For example, I have a DLL that can produce up to 200 significant digits for math calculations. With it I was able to duplicate the result for sin(0.785) as the MS calculator:
0.70682518110536592374613897300473
It does seen odd that the MS calculator has better precision than std Excel, which gives:
0.706825181105366
Don't know.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|