Results 1 to 5 of 5

Thread: Anyone want to try and break this?

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Comintern's Avatar
    Join Date
    Nov 2004
    Location
    Lincoln, NE
    Posts
    826

    Cool Anyone want to try and break this?

    About a week ago, I tried to find a good VB class for handling large numbers. The only thing I could find was a .dll written in C, so I thought I'd try to cook up one written in VB to get a little coding practice. Attached is what I came up with. It handles signed, floating point numbers up to roughly the length of the max value of an Integer. It can perform all simple math functions (add, subtract, multiply, divide, integer divide, modulus), raise numbers to positive and negative integer powers, and can evaluate greater than and less than. For good measure, I also put in functions to convert to and from any base from 2 to 35, a reciprocal function, a crude formatter, and 6 bitwise operations.

    Everything works as far as I can tell, but I was wondering if anyone could test it a little bit before I put it in the code bank.
    Attached Files Attached Files
    Last edited by Comintern; Dec 22nd, 2005 at 07:04 PM. Reason: Update attachment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width