VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by Nincompoop (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (10 Votes)

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)

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

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

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

No comments have been posted about Large Math (Demo with Pi calculator and Mersenne Prime finder etc). Why not be the first to post a comment about Large Math (Demo with Pi calculator and Mersenne Prime finder etc).

Post your comment

Subject:
Message:
0/1000 characters