Old snapshot `bigint-2006.04.24'; see the ChangeLog file.
[bigint/bigint.git] / README
CommitLineData
b3fe29df 1+===================================================================+
a8b42b68 2| Big Integer Library |
b3fe29df 3| A C++ library that does arithmetic on integers of unlimited size. |
b1f5f69e 4| Version 2006.02.26 |
a8b42b68
MM
5+-------------------------------------------------------------------+
6| By Matt McCutchen |
7| E-mail: hashproduct@verizon.net |
b1f5f69e 8| Project Web site: http://hashproduct.metaesthetics.net/bigint/ |
b3fe29df
MM
9+===================================================================+
10
a8b42b68
MM
11What the Big Integer Library provides
12=====================================
13This library contains two classes, BigUnsigned and BigInteger, that represent nonnegative integers and integers, respectively, of size limited only by your computer's memory. Their capabilities include these operators:
14 Math: + - * / % & | ^ unary-
15 Assignment: = += -= *= /= %= &= |= ^= ++ --
16 Comparison: == != < <= > >=
17In the works are the << and >> operators, integer algorithms like `gcd', and possibly a working implementation of RSA using the library.
05780f4b 18
a8b42b68
MM
19Using the features of the library
20=================================
21The file `sample.cc' explains and demonstrates the most important features of the library. I recommend that you read `sample.cc' and then run the sample program it contains. If you want to do something not shown in `sample.cc' or want more detail, read the actual header and source files, which are extensively commented.
05780f4b 22
a8b42b68
MM
23Compiling programs with the library
24===================================
25The library consists of a folder full of header files (`.hh') and source files (`.cc'). `#include' header files and compile with source files as necessary for your own programs. For those who use `make', a `Makefile' is included that compiles the source code to object files (`.o') and compiles the sample program.
05780f4b 26
a8b42b68
MM
27Bugs
28====
29The library has been tested by myself and others but is by no means bug-free. The programs you write using the library will be the best test of its correctness. I urge you to report any problems that you find, whether they come in the form of compiling trouble, mathematically inaccurate results, or runtime memory-management bloopers (which, since I use Java, are altogether too common in my C++).
05780f4b 30
a8b42b68
MM
31Keep in touch
32=============
b1f5f69e 33Feel free to e-mail me at `hashproduct@verizon.net' to report bugs or request features. When I fix the bug or add the feature, you will generally be credited by name in the source code and/or the Change Log unless you request otherwise. I am also curious as to what uses you find for the library. If you would like an e-mail whenever a new version of the library is released, e-mail me to join my informal mailing list. New versions of the library will be available at the project Web site at `http://hashproduct.metaesthetics.net/bigint/'.
05780f4b 34
a8b42b68 35=====================================================================