Whole numbers without rounding
Add, subtract, multiply, divide with a remainder, raise to a power, find a greatest common divisor, take a factorial or work modulo m, on whole numbers of up to 2000 digits, with every digit exact.
Whole numbers only. The worked example is 2 to the power 100. Saved on this device only.
Loading Arbitrary Precision Arithmetic Calculator. If nothing appears, turn on JavaScript.
Enrichment · STEM ExplorationsOpen to everyone · no sign-in
Ordinary calculators keep about 15 significant digits, so 2 to the power 100 shows as 1.26765e30 and the rest is lost. For divisibility, remainders and cryptography every digit counts, and exact arithmetic keeps them all.
To find 3 to the power 200 mod 13 the page squares and reduces repeatedly instead of building the huge power. The answer is 9, and you can check it: powers of 3 repeat every 3 steps mod 13, and 200 mod 3 is 2.
The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.