Optimized Stack Operations
|
02-27-2019, 11:04 AM
Post: #25
|
|||
|
|||
RE: Optimized Stack Operations
I tried to test CORDIC and developed the following code for sin(x) ... calculates cos(x) too:
Code:
Unfortunately this (surely not optimized) code seems less precise (personal feeling; even if I extend the loop to 20) and needs more memory than my old Taylor routine for calculating exp, sin and asin. What did I miss? ... to many doubles? How can I calculate exp or asin? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)