Post Reply 
(50g) USER key ": division" a) decimal into (pi) fractions b) no limits
01-08-2021, 12:16 AM
Post: #16
RE: HP50G USER key ": division" a) decimal into (pi) fractions b) no limits
Read once and checked that
; is equivalent to DROP.

So that
CLEAR << 100 200 ; >>
EVALUATE will return 100.

So that to spare place (3.5 bytes)

You could write
<< 100 5 6 >
{;} IFT >>

Instead of the less "economical"
<< 100 5 6 >
{DROP} IFT >>.

And, to save still 1.5 byte supplementary, according to David&Joe's tip even better:
<< 100 5 6 >
:: ; IFT >> (; is equivalent to DROP).

Regards,
Gil
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP50G USER key ": division" a) decimal into (pi) fractions b) no limits - Gil - 01-08-2021 12:16 AM



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