B
B
BranchInCode2020-03-03 19:23:43
C++ / C#
BranchInCode, 2020-03-03 19:23:43

Why does it incorrectly calculate the remainder of the division?

I am writing pow(37,19) % 161should output 79, but outputs 148, what is the reason? How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2020-03-03
@Vetka_in_code

In overflow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question