I was trying to write a program to factor large prime numbers, but I need to take the modulus of the numbers first. In order to take the moduli, I need to have integers. So I can't really work with doubles. static_cast also doesn't work. Does anyone know how i can find the remainder of two big numbers? I'll appreciate any comments/suggestions.
Thanks
Thanks