Post Reply 
[41/42/..] Micro-challenge: order X and Y by magnitude
03-08-2016, 11:20 PM
Post: #10
RE: [41/42/..] Micro-challenge: order X and Y by magnitude
(03-08-2016 10:31 PM)TASP Wrote:  ??
Would a function to order the stack from hi to lo and/or vice versa be useful ??

My suggestion was a function that returns the value with the minimum/maximum absolute value of X and Y. Alternatively, as Pauli said, tests commands could be implemented that compare the magnitudes of X and Y.

A dedicated stack sort command maybe is a bit, err... "special". ;-)

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


Messages In This Thread
RE: [41/42/..] Micro-challenge: order X and Y by magnitude - Dieter - 03-08-2016 11:20 PM



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