Thread: big integer

  1. #1
    Registered User
    Join Date
    Jan 2008

    big integer

    does any one have a prewritten class for handling really big integers(100 digits....).
    Just basic operations
    Its really helpful in coding contests, like java has the inbuilt BigInteger class.

    thanx in advance.

    Ps: please paste the code,as I am not able to download anything.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    Quote Originally Posted by eklavya8 View Post
    Ps: please paste the code,as I am not able to download anything.
    I'm pretty sure that any pre-written class to do this would be slightly larger than what we would want to have posted here.

    A member with the user-name iMalc has a big integer class, which if you would like to download it, is here:

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003

    More than just basic operations, but also in all likelyhood considerably faster than anything any individual member here has produced.

    LGPL, though. Be aware of the conditions.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. big integer calculator! addition/subtraction algorithm
    By counton in forum C Programming
    Replies: 12
    Last Post: 11-22-2007, 03:42 AM
  2. Replies: 7
    Last Post: 08-19-2007, 08:10 AM
  3. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  4. Range of an integer.
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 03-10-2002, 09:43 AM