Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Big Integer Class?

Big Integer Class?

Scheduled Pinned Locked Moved The Lounge
c++question
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LiquidKnight
    wrote on last edited by
    #1

    Does anyone know where I could find a big integer class for excessively large numbers using MFC or a Big Double Class for MFC or even both? If so do you have a I link in which I could download it? - LiquidKnight

    T J 2 Replies Last reply
    0
    • L LiquidKnight

      Does anyone know where I could find a big integer class for excessively large numbers using MFC or a Big Double Class for MFC or even both? If so do you have a I link in which I could download it? - LiquidKnight

      T Offline
      T Offline
      Taka Muraoka
      wrote on last edited by
      #2

      Look for CryptoPP. It's a crypto library and has classes for big numbers.


      he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed) NEW: Awasu 1.0[^]: A free RSS reader with support for Code Project.

      L 1 Reply Last reply
      0
      • T Taka Muraoka

        Look for CryptoPP. It's a crypto library and has classes for big numbers.


        he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed) NEW: Awasu 1.0[^]: A free RSS reader with support for Code Project.

        L Offline
        L Offline
        LiquidKnight
        wrote on last edited by
        #3

        Is it able to do scientific notation? - LiquidKnight

        T 1 Reply Last reply
        0
        • L LiquidKnight

          Is it able to do scientific notation? - LiquidKnight

          T Offline
          T Offline
          Taka Muraoka
          wrote on last edited by
          #4

          Can't remember. Download it and have a look! It does rational numbers, I remember that, so it wouldn't surprise me if it did.


          he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed) NEW: Awasu 1.0[^]: A free RSS reader with support for Code Project.

          1 Reply Last reply
          0
          • L LiquidKnight

            Does anyone know where I could find a big integer class for excessively large numbers using MFC or a Big Double Class for MFC or even both? If so do you have a I link in which I could download it? - LiquidKnight

            J Offline
            J Offline
            Jorgen Sigvardsson
            wrote on last edited by
            #5

            In addition to Takas suggestion, you also have GMP (GNU MultiPrecision library, links available somewhere on www.gnu.org[^]), BIGNUM's which you find in OpenSSL.org[^]. -- Yeeeeehaaaaawwwwd!

            L 1 Reply Last reply
            0
            • J Jorgen Sigvardsson

              In addition to Takas suggestion, you also have GMP (GNU MultiPrecision library, links available somewhere on www.gnu.org[^]), BIGNUM's which you find in OpenSSL.org[^]. -- Yeeeeehaaaaawwwwd!

              L Offline
              L Offline
              LiquidKnight
              wrote on last edited by
              #6

              Ok Im mostly trying to make a program to calculate a buch of differnt forms of memory. bit bytes kilo bytes mega bytes giga bytes tera bytes peta bytes exa bytes zetta bytes yotta bytes ect. And its hard to calculate such huge numbers for bits and they are going to -'s same with bytes when I use _int64 's plus it isnt giving me decimal values for tera zeta ect. type of bytes because its an integer - LiquidKnight

              J 1 Reply Last reply
              0
              • L LiquidKnight

                Ok Im mostly trying to make a program to calculate a buch of differnt forms of memory. bit bytes kilo bytes mega bytes giga bytes tera bytes peta bytes exa bytes zetta bytes yotta bytes ect. And its hard to calculate such huge numbers for bits and they are going to -'s same with bytes when I use _int64 's plus it isnt giving me decimal values for tera zeta ect. type of bytes because its an integer - LiquidKnight

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #7

                I don't think such a program exists. At least not that I'm aware of. :) But I really do recommend the GMP function library (I believe there's a wrapper C++ class library too). It does everything you ask for. Hmm.. do you know the language Lisp? I know http://www.drscheme.org/[^] implement their numbers so that they can handle numbers or arbitrary size. -- Yeeeeehaaaaawwwwd!

                L 1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  I don't think such a program exists. At least not that I'm aware of. :) But I really do recommend the GMP function library (I believe there's a wrapper C++ class library too). It does everything you ask for. Hmm.. do you know the language Lisp? I know http://www.drscheme.org/[^] implement their numbers so that they can handle numbers or arbitrary size. -- Yeeeeehaaaaawwwwd!

                  L Offline
                  L Offline
                  LiquidKnight
                  wrote on last edited by
                  #8

                  LISP isnt a language its a joke. - LiquidKnight

                  J 1 Reply Last reply
                  0
                  • L LiquidKnight

                    LISP isnt a language its a joke. - LiquidKnight

                    J Offline
                    J Offline
                    Jorgen Sigvardsson
                    wrote on last edited by
                    #9

                    (list (processing (rules (and (you (know (it)))))))

                    -- Yeeeeehaaaaawwwwd!

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups