modular-arithmetic Questions
1
Solved
I want to calculate am mod n, where n is a prime number, and m is very large. Rather doing this with binary power calculation, I'd like to find such x that ax = a (mod n) and then calculate a(m mod...
Pellucid asked 11/5, 2013 at 5:22
4
Solved
I keep getting the error "The operator % is undefined for the argument type(s) Integer, Integer" I am not quite sure why this is happening. I thought that since modular division cannot return decim...
Velodrome asked 25/4, 2013 at 22:37
1
Solved
I have 3 large 64 bit numbers: A, B and C. I want to compute:
(A x B) mod C
considering my registers are 64 bits, i.e. writing a * b actually yields (A x B) mod 2⁶⁴.
What is the best way ...
Mantinea asked 13/2, 2013 at 16:4
© 2022 - 2024 — McMap. All rights reserved.