(42, all flavours) Integer Division - how?
|
12-19-2020, 04:42 PM
(This post was last modified: 12-19-2020 08:14 PM by Werner.)
Post: #43
|
|||
|
|||
RE: (42, all flavours) Integer Division - how?
I always use IP.
41/42 doesn't have native FLOOR or CEIL. So, this would be the 42 version: In: X Y Out: Q R, X in LASTX Code: 00 { 70-Byte Prgm } @ X Y Z T A version for the 41 would be at the same time simpler and harder: the 41 doesn't do round-to even (rounds up the halfway case), but doesn't have recall arithmetic. Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 11 Guest(s)