### Subject: How does one calculate large numbers on a computer?

Date: **Tue Nov 9 02:20:53 1999**

Posted by **René Keller-Smidt**

Grade level: **grad (non-science)**
School: **No school entered.**

City: **Ostermundigen** State/Province: **BE**
Country: **Switzerland**

Area of science: **Computer Science**

ID: **942132053.Cs**

**Message:**

E.g. cryptography needs large numbers (with some hundred digits) which are
multiplied, moduli are used on them etc. How does that work on a computer
which can only work with numbers up to 16 digits or so? => How do I get
the correct result - down to the least significant digit - of e.g.
[(10^20)-1]? The computer will return 1e20 where the correct result would
rather be 9'999'999'999'999'999'999...
Thanks for answering and a big HI! from Switzerland

Re: How does one calculate large numbers on a computer?

Current Queue |
Current Queue for Computer Science |
Computer Science archives
Try the links in the MadSci Library for more information on Computer Science.

**
MadSci Home | Information |
Search |
Random Knowledge Generator |
MadSci Archives |
Mad Library | MAD Labs |
MAD FAQs |
Ask a ? |
Join Us! |
Help Support MadSci
**

MadSci Network,
webadmin@www.madsci.org

© 1995-1999. All rights reserved.