473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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

Mar 28 '06 #1
6 1691

Pe*******@gmail.com wrote:
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?
Did you try google? I'm convinced that there is an abundance of such
libraries.

/Peter

Thanks,
Peng


Mar 28 '06 #2

peter koch wrote:
Pe*******@gmail.com wrote:
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?


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

/Peter


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

Mar 28 '06 #3

<Pe*******@gmail.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...

peter koch wrote:
Pe*******@gmail.com wrote:
> 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?


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

/Peter


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


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

-Howard
Mar 28 '06 #4
Pe*******@gmail.com wrote:
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?


I like NTL...

http://www.shoup.net/ntl/

Greg Buchholz

Mar 28 '06 #5
Pe*******@gmail.com wrote:
arbitrarily long integer


GMP has a nice C++-Class-Interface

Regard
Wilhelm Korrengk
Mar 28 '06 #6

peter koch wrote:
Pe*******@gmail.com wrote:
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?


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

/Peter

Thanks,
Peng


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

Mar 30 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Aditya Ivaturi | last post by:
We have a CMS which is written is based on php & mysql. Recently we received a request to support multiple languages so that sites in that particular laguage can be created. I did some search on...
17
by: Karl Ebener | last post by:
Hi! I asked a similar question before but then changed everything to using char-Arrays instead of the string class, but I would rather not do this again. So, does anyone know of a...
14
by: Luiz Antonio Gomes Pican?o | last post by:
How i can store a variable length data in file ? I want to do it using pure C, without existing databases. I'm thinking to use pages to store data. Anyone has idea for the file format ? I...
13
by: Andre | last post by:
Hi, I was wondering if anyone knows whether the JIT compiler supports SSE/SSE2 instructions? Thanks -Andre
2
by: Nad | last post by:
Hello All, I have been trying to get some sort of documantion on how StreamReader.ReadToEnd() finds out if the stream has ended and if anyone can read the following lines and tell me how to...
10
by: Crirus | last post by:
Is there a function that return some random ID like string alphanumeric? Like this: A35sDsd1dSGsH Thanks Crirus
2
by: Tom | last post by:
I'm getting this error when I try to pass a structure to a dll. An unhandled exception of type 'System.ArgumentException' occured in Test1.exe Additional Information: Type could not be marshaled...
3
by: PengYu.UT | last post by:
I quickly searched the group. Like the post said, it is not possible to specify indefinite number of arguments. ...
4
vikas251074
by: vikas251074 | last post by:
Loop runs indefinite times. suppose v_router = 5 is entered by user, then following code runs indefinite times i.e. record is inserted indefinite times though each have different i and v_ip_address....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.