Post Reply 
WP-34S Polar to Rectangular (no quadrant checking)
02-28-2014, 12:04 AM
Post: #2
RE: WP-34S Polar to Rectangular (no quadrant checking)
As a space saving measure these routines simply vector through the complex rectangular/polar conversions which assume radians and convert back afterwards.

It wouldn't be too hard to rework rectangular -> polar to using the trig routines that know about angular mode -- it will be slower since the dn_sincos() routine calculates both SIN and COS of its argument in radians together. There is no equivalent routine that knows about angular mode.

Another alternative, would be to move these two functions into XROM. I don't see any direct call to them or references from inside XROM so it should be possible. This would save some space too I imagine but at a cost of performance and accuracy in DP mode.


- 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 - 02-28-2014 12:04 AM



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