Post Reply 
EXC/ x<>Rn for stack efficiency
06-18-2017, 12:59 AM
Post: #39
RE: EXC/ x<>Rn for stack efficiency
(06-17-2017 12:49 PM)Dieter Wrote:  However, in this case the ->R function is not required, instead ->P does both calculations.

Oops Sad


Quote:Since ->P x<>y is not shorter than a division and arctan (two steps in both cases) the only advantage of the ->P method may be that if the denominator is negative the returned angle is positive: arctan(1/–1) returns –45° while 1 ENTER –1 ->P yields +135°.

There is also an advantage when the denominator is zero. This alone makes it worthwhile I think.


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


Messages In This Thread
RE: EXC/ x<>Rn for stack efficiency - Paul Dale - 06-18-2017 12:59 AM



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