Getting Binary Division Remainder

12082021, 10:10 PM
Post: #1




Getting Binary Division Remainder
Hi everyone,
I'm trying to figure out how to get the remainder when doing binary division on the HP Prime, but I'm not having much luck. There is a picture of what I am trying to do and also here is a link that does the calculation correctly: http://www.ee.unb.ca/cgibin/tervo/calc....=d&e=1&m=1 (which has another example). When dividing it you are XOR'ing the values together and you are left with the remainder in binary. I tried converting the numbers in decimal then to binary but it's giving me the wrong answer along with MOD'ing. Any help would be appreciated. 

12092021, 02:16 PM
Post: #2




RE: Getting Binary Division Remainder
(12082021 10:10 PM)Arcane178 Wrote: Hi everyone, The link you provided uses a binary Galois Field GF(2), but that's not the same as regular numbers that the HP Prime uses. The addition in this field is defined as XOR, the HP Prime is using numbers where addition is defined as regular addition. So you can't expect the division in that field to be the same as regular division. 

« Next Oldest  Next Newest »

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