Post Reply 
(41C) Quotient and Remainder
04-16-2023, 03:32 PM
Post: #6
RE: (41C) Quotient and Remainder
(04-10-2023 07:25 AM)Werner Wrote:  
(04-05-2023 02:44 PM)Ángel Martin Wrote:  FWIW, QREM in the SandMath returns exactly the expected results.
Not my merit, it is based on Ken Emery's routine published in MCODE for Beginners.
Hello Angel,
I looked that routine up, it performs the exact same steps as the PPC ROM routine, but coded in MCODE. It does not use extended precision (to my untrained eye, I don't speak MCODE), so I wonder how it got the right results? Or maybe you 'tweaked' it?
Werner

You're correct, I use a 13-digit division routine in QREM, which seems to make the difference.

Cheers,
ÁM

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(41C) Quotient and Remainder - Werner - 04-05-2023, 09:12 AM
RE: (41C) Quotient and Remainder - Werner - 04-05-2023, 01:08 PM
RE: (41C) Quotient and Remainder - Werner - 04-10-2023, 07:25 AM
RE: (41C) Quotient and Remainder - Ángel Martin - 04-16-2023 03:32 PM
RE: (41C) Quotient and Remainder - Werner - 04-18-2023, 02:57 PM



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