VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

BigNum Calculator(Correction 1 Jul 2007))

Robert Rayment  (69 Submissions)   Math/Dates   Intermediate   Wed 3rd February 2021

BigNum Calculator by Robert Rayment. Does calculations on, up to, 1024 bit numbers (~310 dec & 256 hex digits). Operations on single numbers include shift left/right, roll left/right, Not, Factorial, Squared & Cubed. On two numbers - And, Or, Xor, Eqv, Imp, Div/Mod, Mul, Sub & Add. The full results can be displayed and saved to the clipboard or a file. All calculations are for positive integers only. Make sure to compile the program, particularly for large numbers. Machine code is used for some conversions to speed things up by a few seconds since they take much longer than calculations, principally for 4 digit factorials. For small numbers this has some educational value but very large numbers are just a curiosity, though apparently there is some use in encryption. Zip 27 KB.
__________________________________________________
Update: Added view clipboard.
__________________________________________________
Update2: Added permutations & combination. Div correction.
__________________________________________________
Update3: Minor re-arrangements.
__________________________________________________
Update 1st July 2007: Correct FullIntDivision routine.

Inputs
Numbers

Assumes
Just run

Returns
Calcs

API Declarations
Memory, On top & ASM APIs

Rate BigNum Calculator(Correction 1 Jul 2007)) (17(17 Vote))

Download BigNum Calculator(Correction 1 Jul 2007))

BigNum Calculator(Correction 1 Jul 2007)) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters