WP34S Polar to Rectangular (no quadrant checking)

02272014, 10:27 PM
(This post was last modified: 02272014 11:26 PM by BarryMead.)
Post: #1




WP34S Polar to Rectangular (no quadrant checking)
Many HP calculators include special quadrant checking for the 0, 90, 180, 270 degree quadrant values when performing the Polar to Rectangular conversion. For instance if you have 90 degrees in the
Y register and 1 in the X register and press "f" "R<" (Polar to Rectangular) you get 3.799 E 38 for X and 1 for Y on the WP34s (assuming Degrees mode), but on an HP15C you get 0 (zero) for X and 1 for Y. If the calculator were in GRADS mode these values would be 0, 100, 200, 300. Most HP calculators don't attempt to match quadrant angular values while in the RAD mode. Adding special checks for these quadrant values could cost valuable flash memory space, but since the existing SIN and COS functions already include these special quadrant checks, it may be possible to fix the Polar to Rectangular function by using existing SIN and COS routines, hopefully eliminating the need for additional quadrant checks. 

« Next Oldest  Next Newest »

Messages In This Thread 
WP34S Polar to Rectangular (no quadrant checking)  BarryMead  02272014 10:27 PM
RE: WP34S Polar to Rectangular (no quadrant checking)  Paul Dale  02282014, 12:04 AM
RE: WP34S Polar to Rectangular (no quadrant checking)  BarryMead  02282014, 12:33 AM
RE: WP34S Polar to Rectangular (no quadrant checking)  walter b  02282014, 06:18 AM
RE: WP34S Polar to Rectangular (no quadrant checking)  Paul Dale  02282014, 07:55 AM
RE: WP34S Polar to Rectangular (no quadrant checking)  BarryMead  03012014, 08:08 PM
RE: WP34S Polar to Rectangular (no quadrant checking)  Paul Dale  03012014, 11:26 PM
RE: WP34S Polar to Rectangular (no quadrant checking)  Paul Dale  03022014, 01:52 AM
RE: WP34S Polar to Rectangular (no quadrant checking)  Marcus von Cube  03022014, 03:03 PM
RE: WP34S Polar to Rectangular (no quadrant checking)  pascal_meheut  03022014, 07:22 PM

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