I have a question regarding a module in C ++. What I was trying to do shared a very large number, say, for example, M% 2, where M = 54,302,495,302,423. However, when I turn to compilation, this suggests that the number is "long" for int. Then, when I switch it to double, it repeats the same error message. Is there a way I can do this in which I get the remainder of this very large number, or perhaps even a larger number? Thank you for your help, very grateful.
source
share