View Single Post
  #1  
Old 08-10-2021, 23:31
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 942
Rept. Given: 72
Rept. Rcvd 673 Times in 286 Posts
Thanks Given: 68
Thanks Rcvd at 3,911 Times in 742 Posts
CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699
GenerateBigPrimes src VC6

Original project here:
http://codes-sources.commentcamarche...chiffresAuteur
the project uses naive multiplication approach, so isn't fast!

added decimal string conversion functions:
BigInt na = BigInt::BigIntFromDecStr("4294967295");
std::string str = na.GetDecStrValue();
Attached Files
File Type: zip GenerateBigPrimes_srcVC6.zip (45.6 KB, 16 views)
Reply With Quote
The Following 3 Users Say Thank You to CodeCracker For This Useful Post:
niculaita (08-11-2021), Zeocrack (10-04-2022)