Thread: BigInt- Division

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    1

    BigInt- Division

    I am having a hard time trying to figure out how to divide 2 arrays of 100 cells and in each cell 4 digits.

    Example if i want to divide 92345678 /12345678 it is going to be like this:

    V1 = [9234] [ 5678]
    V2 = [1234] [ 5678 ]

    V1 / V2.

    I have already overload the +, - , * operators... It is just the division that is driving me crazy... please help me.. thanks

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Use a binary search to find the quotient. Or look up a more mathematical solution on google.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Get jiffies?
    By pgzh in forum Linux Programming
    Replies: 6
    Last Post: 03-17-2008, 10:30 AM
  2. BigInt Linked List Long Division
    By abyssknight in forum C Programming
    Replies: 5
    Last Post: 04-01-2004, 07:02 PM
  3. bigInt help
    By noob2c in forum C++ Programming
    Replies: 14
    Last Post: 10-10-2003, 08:18 PM
  4. modulo 2 division question help
    By shaq8u in forum C Programming
    Replies: 9
    Last Post: 08-20-2003, 08:37 AM
  5. Modular Division problem
    By Malek in forum C++ Programming
    Replies: 7
    Last Post: 05-24-2003, 06:08 PM