Advertisement
ASP_Volume3 Math/ Dates #57118

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

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.

AI

Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Code source
original-source
Upload
Commentaires originaux (3)
Récupéré via Wayback Machine