Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Library for integers of arbitrary length.

Status
Not open for further replies.

HarryK

Programmer
Dec 12, 2000
6
GR
Does anyone know of a C/C++ library for working with integers of arbitrary length.
Thank you in advance.
 
I don't know what you really want. If you are looking for a library which handles arithmetics of variables with any length, the RSAREF may help you. It is part of the American PGP Distribution. But I don't know how to get it and if it is free.


hnd
hasso55@yahoo.com

 
Sorry if my first question wasn't so clear. By "arbitrary length" I mean interger numbers whose size isn't limited to 8 or 16 bytes, but they can be as long as required for the problem, without any loss of precision (a number with thousands of digits for example). If anyone is aware of a library that can perform arithmetic operations with such numbers, it would be most helpful.
Thanks,
Harry
 
hi,
some of the examples are gmp (gnu math precision) library and the Big num library in ssleay!!

-afaik
shail
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top