Post Reply 
(42, all flavours) Integer Division - how?
12-13-2020, 07:19 PM
Post: #17
RE: (42, all flavours) Integer Division - how?
(12-13-2020 04:21 PM)Albert Chan Wrote:  Assuming q is correctly rounded (mode round-to-nearest), r = 0 or -1

Only for a and b positive?
For a negative, it doesn’t work, eg
(12 digits calc)
a=-4e11-6
b=4
DIV returns -1e11-2

Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
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? - Werner - 12-13-2020 07:19 PM



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