BigInteger Completed!
In my quest to write my own version of RSA encryption, I needed to be able to perform mathematical functions with very large integer numbers. I set out to learn these methods, so I popped open my set of The Art of Computer Programming by Donald Knuth. I learned the basics pretty easily, however, the division was another matter. I did eventually figure it out and now find it a straight forward method to implement. Great learning experience for sure. Among other things, I learned that Microsoft's BigInteger in the VS Orcas edition calculated incorrectly.
Anyways, I enjoyed the process and thought that the BigInteger class itself might be useful outside of VBCorLib, so I built a nice package for it and uploaded it Planet Source Code (soon Sourceforge.) I think I might even expand it to include something like a BigDecimal and/or BigFloat.
:rant: I've become increasingly disappointed with the quality of submissions on Planet Source Code. I've looked at many projects and just shake my head. I could complain about every aspect of the majority of projects. I think I must have high expectations and it prevents me from voting or commenting because nothing good will come out of my mouth. :/rant:
Kelly
Anyways, I enjoyed the process and thought that the BigInteger class itself might be useful outside of VBCorLib, so I built a nice package for it and uploaded it Planet Source Code (soon Sourceforge.) I think I might even expand it to include something like a BigDecimal and/or BigFloat.
Kelly

2 Comments:
Hello there. I'm interested in writing an SRP handling system in VB6, and ran across your BigInteger implementation. However, I couldn't find the separate BigInteger classes anywhere (You said PSC and soon SF would have them, but you gave no link... and Google has surprisingly failed me). I downloaded the source code for your VBCorLib, but the BigInteger class seems to have a lot of requirements found elsewhere, such as IComparable (which I really don't understand at all...), the Number Type, the Cor Object, etc... If you could, I'd appreciate either help separating this, or the separate class module for BigIntegers. Of course, I intend to give you full credit for your BigInteger class in my application. Thanks in advance!
By
Andy, at 11/01/2008 11:07 AM
I use Visual basic in Excel and Access. I want to use BigInteger functions. I download a VB6 source for BigNumber, but evidently it's going to reqire some tweeking... I've never used a "Class" module.
Do you have any examples in Excel or Access that would help?
By
Ragknot, at 11/09/2009 2:03 PM
Post a Comment
<< Home