Solving a 16M Digit Math Problem on a 2GHz Processor

  • Thread starter Thread starter linux kid
  • Start date Start date
  • Tags Tags
    Processor
Click For Summary
SUMMARY

A 2GHz processor, such as a Pentium, can compute a 16 million digit math problem, but the exact time required depends on several factors including the specific algorithm used and the programming language. For instance, a C++ custom program optimized for mathematical computations will yield different performance metrics compared to unoptimized code. The discussion emphasizes the importance of understanding processor speed in terms of MIPS (Million Instructions Per Second) for accurate estimations of computation time.

PREREQUISITES
  • Understanding of processor architecture and speed metrics, specifically MIPS.
  • Familiarity with C++ programming for mathematical computations.
  • Knowledge of algorithm efficiency and its impact on computation time.
  • Basic understanding of large number handling in programming languages.
NEXT STEPS
  • Research MIPS and its relevance to processor performance.
  • Learn about optimizing C++ code for mathematical computations.
  • Explore algorithms suitable for handling large numbers efficiently.
  • Investigate benchmarking techniques for measuring computation time on different processors.
USEFUL FOR

Computer scientists, software developers, and anyone interested in optimizing mathematical computations on processors.

linux kid
Messages
101
Reaction score
0
On average, how long would it take a 2ghz processor to compute a string math problem that is about 16 million digits long?
 
Computer science news on Phys.org
Hi linux kid,

In your recent thread about MIPS, a link was posted to a wikipedia article about processor speeds:

http://en.wikipedia.org/wiki/Million_instructions_per_second

Was that article of any help? Can you be a bit more specific in your question? Like, are you asking specifically about a 2GHz Pentium processor in a PC running some operating system and a C++ custom program to do some computation involving 16 million of something? More details would be helpful.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
15K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 12 ·
Replies
12
Views
8K