VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Large Math (Demo with Pi calculator and Mersenne Prime finder etc)

Nincompoop  (1 Submission)   Math/Dates   Visual Basic 5.0   Beginner   Wed 3rd February 2021

The code demontrates a library of math functions designed to work on very very large numbers.
To name a few:
IsArrayPrime
IsArrayPrime2
IsArrayStrongProbablePrime
IsMersennePrimeExp
StringToArray
ArrayToString
ArrayToBin(ary)
ArrayToHexStr
ArrayCmp
AddArray
AddArray2
SubArray
SubArray2
ArrayMultiply
ArrayDivide
Sqrt (square root, yes)
PowerOf2
ArrayPower
PrimeFactorsOfArray
This is for all those Math Freaks, who would know its application. For those who don't, its applications include finding large Prime numbers for use in encryption and variety of other uses. Calculation of Pi (3.14159..) etc.
The demo demonstrates Prime number and Pi calculation primarily.
The code has been optimized to a very large extent, but if you find scope of improvement, please tell me. Also, foolproof testing of this code was very difficult for me, so if you find any bugs, please do tell me.
Thanks for your votes and comments.

Rate Large Math (Demo with Pi calculator and Mersenne Prime finder etc) (10(10 Vote))

Download Large Math (Demo with Pi calculator and Mersenne Prime finder etc)

Large Math (Demo with Pi calculator and Mersenne Prime finder etc) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters