Post Reply 
Approximation of Sine function in Integer Forth
03-13-2022, 08:00 PM (This post was last modified: 03-13-2022 08:00 PM by Garth Wilson.)
Post: #6
RE: Approximation of Sine function in Integer Forth
(03-13-2022 12:56 PM)Thomas Klemm Wrote:  
(03-12-2022 09:46 PM)Garth Wilson Wrote:  Even a little above 45°, the accuracy is lost very quickly!

I recommend to use the sin90 function instead.

Note that my sin90 and cos90 use the cos45 and sin45 (respectively) to get the desired accuracy above 45 degrees. Then the SIN and COS functions are usually accurate to all 16 bits, and the few times they're off, it's only by one lsb, and even then, it's always in the same direction, ie, high.

http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Approximation of Sine function in Integer Forth - Garth Wilson - 03-13-2022 08:00 PM



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