Quizzes & Puzzles2 mins ago
sum mod
Good afternoon,
Can anyone explain what a "sum mod" is to a thick person like myself please? How does it work?
Can anyone explain what a "sum mod" is to a thick person like myself please? How does it work?
Answers
Best Answer
No best answer has yet been selected by AB Editor. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Not quite sure what you are asking as you have not put it in context.
Would that be 'sum' as in the sums you used to do at school?
Is that 'mod' as in modulo?
Modulo is the remainder after doing an integer division.
examples:
10 mod 3 = 1 (10/3 = 3 remainder 1)
30 mod 7 = 2 (30/7 = 4 remainder 2)
25 mod 5 = 0 (25/5 = 5 remainder 0)
The associated operator DIV is the integer result of an integer division (ignoring the remainder)
10 div 3 = 3 (10/3 = 3 remainder 1)
30 div 7 = 4 (30/7 = 4 remainder 2)
25 div 5 = 5 (25/5 = 5 remainder 0)
Would that be 'sum' as in the sums you used to do at school?
Is that 'mod' as in modulo?
Modulo is the remainder after doing an integer division.
examples:
10 mod 3 = 1 (10/3 = 3 remainder 1)
30 mod 7 = 2 (30/7 = 4 remainder 2)
25 mod 5 = 0 (25/5 = 5 remainder 0)
The associated operator DIV is the integer result of an integer division (ignoring the remainder)
10 div 3 = 3 (10/3 = 3 remainder 1)
30 div 7 = 4 (30/7 = 4 remainder 2)
25 div 5 = 5 (25/5 = 5 remainder 0)
Is it something to do with Gaming?
http://negativesum.ne...f-sum-mod-release-v3/
http://negativesum.ne...f-sum-mod-release-v3/
The Ed does appear to be in a different garden to the rest of us.
His recent newsletter ( perhaps that really should read Newslater) has directed our attention to Videos on YouTube where, advising how to reply to postings, he has said:-
"As this is my question I am going to thank all the contributors. Leaving an answer on your own question is the best way to say thanks to other users"
Sorry Ed if I am being a pain in your arse. :-)
Ron.
His recent newsletter ( perhaps that really should read Newslater) has directed our attention to Videos on YouTube where, advising how to reply to postings, he has said:-
"As this is my question I am going to thank all the contributors. Leaving an answer on your own question is the best way to say thanks to other users"
Sorry Ed if I am being a pain in your arse. :-)
Ron.
Hi Ed,
Could you be referring to the method used by banks for the allocation of account numbers, where the last number is a 'check digit', which should eliminate people transposing numbers when inputting their account details anywhere:
http://en.wikipedia.org/wiki/Luhn_algorithm
Not all use 'modulus 10', I've known 11, 13 & 17. HMRC used to use 35, if I remember correctly, for companies VAT registration numbers.
Could you be referring to the method used by banks for the allocation of account numbers, where the last number is a 'check digit', which should eliminate people transposing numbers when inputting their account details anywhere:
http://en.wikipedia.org/wiki/Luhn_algorithm
Not all use 'modulus 10', I've known 11, 13 & 17. HMRC used to use 35, if I remember correctly, for companies VAT registration numbers.