VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



BigNum Calculator(Correction 1 Jul 2007))

by Robert Rayment (69 Submissions)
Category: Math/Dates
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (16 Votes)

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
Code Returns
Calcs
API Declarations
Memory, On top & ASM APIs

Rate BigNum Calculator(Correction 1 Jul 2007))

Download BigNum Calculator(Correction 1 Jul 2007))

Download BigNum Calculator(Correction 1 Jul 2007)) (27 KB)

BigNum Calculator(Correction 1 Jul 2007)) Comments

No comments have been posted about BigNum Calculator(Correction 1 Jul 2007)). Why not be the first to post a comment about BigNum Calculator(Correction 1 Jul 2007)).

Post your comment

Subject:
Message:
0/1000 characters