Post Reply 
WP-34S Polar to Rectangular (no quadrant checking)
03-01-2014, 11:26 PM
Post: #7
RE: WP-34S Polar to Rectangular (no quadrant checking)
It is possible to implement a C version of course, xrom routines are genearlly easier to debug Smile

I've no certainty about the size difference without building both versions however I suspect your code will be slightly larger the cmplxFromPolar routine will have been inlined so there is no call there to save. Your code will be slow, the SIN and COS are by far the most expensive operations and they are being done separately rather than together -- the modulo reduction is quite a bit bit of these.

Will try to get a look at it this weekend.


- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP-34S Polar to Rectangular (no quadrant checking) - Paul Dale - 03-01-2014 11:26 PM



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