Optimized Stack Operations
|
03-03-2019, 08:25 AM
Post: #27
|
|||
|
|||
RE: Optimized Stack Operations
I like CORDIC - but I can't bring the horsepowers to the ground.
So far I avoided doubles and multiplications and used long variables (shifting values with 1E6): Code:
But finally my compiler claims almost 500 bytes. It seems to me that avoiding doubles and bit shifting (instead of divisions) even bloats the memsize. And involving the intrinsic function for sin(x) needs approx. 250 bytes. My combined function for _exp_sin_asin uses roughly 600 bytes. ??? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)