Results 1 to 7 of 7

Thread: BigInteger Class??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    110

    BigInteger Class??

    Does anybody have a class for handling extremely big integers?

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    bigger than a Long?

  3. #3
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    In VB terms, a really big integer is only 32767 since that is the max it can go. You really need to tell us how large a number you want to hold.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    110
    Well bigger than 9350433046. And double won't work for me.

    Because I am doing

    param1 = param1 And &HFFFFFFFF

    where param1 = 9350433046 and I get an overflow

  5. #5
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    Look:-
    Attached Images Attached Images  

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    110
    Unfortunately Double isn't big enough =(

    Because double is not an integer, it's a floating point.

    I basically need a 64bit integer that can't have decimals.

    Come on somebody should be able to help me
    Last edited by ChR0NiC; Oct 3rd, 2004 at 03:02 PM.

  7. #7
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    CT
    Posts
    17,882
    From my understanding VB isn't going to like anything past 32 bits (longword). I've used other BASIC languages that handle quadwords, but they were 64-bit machines - so that makes sense.

    Where are you getting this value from in the first place?

    Can you take your "quadword" and map it into two "longwords" and work it that way?

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