Any support for indefinite length integer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PengYu.UT@gmail.com

    #1

    Any support for indefinite length integer

    I the build-in int type has limited representation range. I'm wondering
    if there is any class which can represent arbitrarily long integer like
    what Mathematica does?

    Thanks,
    Peng

  • peter koch

    #2
    Re: Any support for indefinite length integer


    PengYu.UT@gmail .com wrote:[color=blue]
    > I the build-in int type has limited representation range. I'm wondering
    > if there is any class which can represent arbitrarily long integer like
    > what Mathematica does?[/color]

    Did you try google? I'm convinced that there is an abundance of such
    libraries.

    /Peter
    [color=blue]
    >
    > Thanks,
    > Peng[/color]

    Comment

    • PengYu.UT@gmail.com

      #3
      Re: Any support for indefinite length integer


      peter koch wrote:[color=blue]
      > PengYu.UT@gmail .com wrote:[color=green]
      > > I the build-in int type has limited representation range. I'm wondering
      > > if there is any class which can represent arbitrarily long integer like
      > > what Mathematica does?[/color]
      >
      > Did you try google? I'm convinced that there is an abundance of such
      > libraries.
      >
      > /Peter[/color]

      I searched "indefinite length integer". I don't see any C++ libraries
      in the first a few pages.

      Comment

      • Howard

        #4
        Re: Any support for indefinite length integer


        <PengYu.UT@gmai l.com> wrote in message
        news:1143564762 .669482.101840@ j33g2000cwa.goo glegroups.com.. .[color=blue]
        >
        > peter koch wrote:[color=green]
        >> PengYu.UT@gmail .com wrote:[color=darkred]
        >> > I the build-in int type has limited representation range. I'm wondering
        >> > if there is any class which can represent arbitrarily long integer like
        >> > what Mathematica does?[/color]
        >>
        >> Did you try google? I'm convinced that there is an abundance of such
        >> libraries.
        >>
        >> /Peter[/color]
        >
        > I searched "indefinite length integer". I don't see any C++ libraries
        > in the first a few pages.
        >[/color]

        how about searching for "arbitrary precision integer c++"?

        -Howard


        Comment

        • Greg Buchholz

          #5
          Re: Any support for indefinite length integer

          PengYu.UT@gmail .com wrote:[color=blue]
          > I the build-in int type has limited representation range. I'm wondering
          > if there is any class which can represent arbitrarily long integer like
          > what Mathematica does?[/color]

          I like NTL...



          Greg Buchholz

          Comment

          • Wilhelm Korrengk

            #6
            Re: Any support for indefinite length integer

            PengYu.UT@gmail .com wrote:[color=blue]
            > arbitrarily long integer[/color]

            GMP has a nice C++-Class-Interface

            Regard
            Wilhelm Korrengk

            Comment

            • Diego Martins

              #7
              Re: Any support for indefinite length integer


              peter koch wrote:[color=blue]
              > PengYu.UT@gmail .com wrote:[color=green]
              > > I the build-in int type has limited representation range. I'm wondering
              > > if there is any class which can represent arbitrarily long integer like
              > > what Mathematica does?[/color]
              >
              > Did you try google? I'm convinced that there is an abundance of such
              > libraries.
              >
              > /Peter
              >[color=green]
              > >
              > > Thanks,
              > > Peng[/color][/color]

              I am convinced people who use google as a response never have the
              answers :(

              Comment

              Working...