Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2021, 01:07
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 464
Rept. Given: 27
Rept. Rcvd 404 Times in 132 Posts
Thanks Given: 21
Thanks Rcvd at 1,868 Times in 357 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
PrimeGen

PrimeGen - prime generator based on Lint05 libray.
PrimeGen is a Visual Studio 2008 project.
Generates 2048 bits prime number in 7-12 seconds.
Lint05 libray doesn't like MFC librarie (stdfax.h)
so I had to create this program naively (native c++ - no form).
Lint05 multiplication is 10x faster then naive approach,
but unfortunately 10x++ slower then GMP math library,
so DON'T have to be used when speed is critical,
for testing if number is probable prime or
getting the size in bits of a number (bits count)
I think is just fine.
Attached Files
File Type: zip PrimeGen_Src_VS2008.zip (430.5 KB, 8 views)
File Type: zip PrimeGenExe.zip (190.9 KB, 4 views)
Reply With Quote
The Following User Says Thank You to CodeCracker For This Useful Post:
wilson bibe (08-15-2021)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 12:02.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )