Redo handling of aliased calls --> version 2007.02.13
[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. |
26a5f52b 4| Version 2006.05.01 |
a8b42b68
MM
5+-------------------------------------------------------------------+
6| By Matt McCutchen |
26a5f52b
MM
7| E-mail: hashproduct@gmail.com |
8| My Web site gateway: http://mysite.verizon.net/hashproduct/ |
9| Project Web site: http://www.kepreon.com/~matt/bigint/ |
b3fe29df
MM
10+===================================================================+
11
a8b42b68
MM
12What the Big Integer Library provides
13=====================================
14This 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:
15 Math: + - * / % & | ^ unary-
16 Assignment: = += -= *= /= %= &= |= ^= ++ --
17 Comparison: == != < <= > >=
18In the works are the << and >> operators, integer algorithms like `gcd', and possibly a working implementation of RSA using the library.
05780f4b 19
a8b42b68
MM
20Using the features of the library
21=================================
22The 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 23
a8b42b68
MM
24Compiling programs with the library
25===================================
26The 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 27
a8b42b68
MM
28Bugs
29====
30The 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 31
a8b42b68
MM
32Keep in touch
33=============
26a5f52b 34Feel free to e-mail me at `hashproduct@gmail.com' 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. New versions of the library will be available at the project Web site.
05780f4b 35
a8b42b68 36=====================================================================