Post Reply 
(42, all flavours) Integer Division - how?
12-11-2020, 03:12 PM
Post: #2
RE: (42, all flavours) Integer Division - how?
Code:

00 { 17-Byte Prgm }
01▸LBL "INT÷"
02 RCL ST Y
03 X<>Y
04 MOD
05 STO- ST Y
06 X<> ST L
07 ÷
08 END

This gets only your first example right on the HP-42S. So does INT÷ on the hp 33s.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (42, all flavours) Integer Division - how? - Gerson W. Barbosa - 12-11-2020 03:12 PM



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