Post Reply 
(50g) Speed Complex entry (42s way)
03-17-2016, 12:36 PM (This post was last modified: 03-17-2016 12:58 PM by Vtile.)
Post: #3
RE: (50g) Speed Complex entry (42s way)
(03-17-2016 04:52 AM)mfleming Wrote:  Very nice! On the second program,
Code:

<< DUP2 COS * UNROT * SIN * Re±Im >> 'XɑY' STO
I think you want
Code:

<< DUP2 COS * UNROT  SIN * Re±Im >> 'XɑY' STO

I think X and Y may be swapped (if Y is the angle)?

~Mark
Y is the angle yes, it seems I made a typo last night in code. Now when you mention it, I do notice that my original naming of the polar form program doesn't follow much logic, yes I swap the X & Y to fit in stack naming style. (The code is in correct order, as it is more natural to enter ABS ARG, than ARG ABS atleast for my left to right reading OCR brains Smile )

Indeed good catch, thx.

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


Messages In This Thread
RE: (50g) Speed Complex entry (42s way) - Vtile - 03-17-2016 12:36 PM



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