From 826c7bda473e5cf1bcd61754b7c849f2c40ee096 Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Sat, 27 Jan 2007 16:06:16 -0500 Subject: [PATCH] Old snapshot `BigIntegerLibrary-2005.01.17'; see the ChangeLog file. --- CHANGELOG | 8 ++++---- README | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d111a60..af78108 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -===================================================================== ++===================================================================+ Matt McCutchen's Big Integer Library http://mysite.verizon.net/mccutchen/bigint/ @@ -6,9 +6,9 @@ Change Log ========== These entries tell you what was added, fixed, or improved in each version as compared to the previous one. In case you haven't noticed, a version number roughly corresponds to the release date of that version in `YYYY.MM.DD[.N]' format, where `.N' goes `.2', `.3', etc. if there are multiple versions on the same day. -2005.01.11 +2005.01.17 ---------- -A fix to some out-of-bounds accesses reported by Milan Tomic (see the comment under `BigUnsigned::divideWithRemainder'). `BigUnsigned::multiply' and `BigUnsigned::divideWithRemainder' implementations neatened up a bit with the help of a function `getShiftedBlock'. I (finally!) introduced a constant `BigUnsigned::N', the number of bits in a `BigUnsigned::Blk', which varies depending on machine word size. In both code and comments, it replaces the much clunkier `8*sizeof(Blk)'. Numerous other small changes. +A fix to some out-of-bounds accesses reported by Milan Tomic (see the comment under `BigUnsigned::divideWithRemainder'). `BigUnsigned::multiply' and `BigUnsigned::divideWithRemainder' implementations neatened up a bit with the help of a function `getShiftedBlock'. I (finally!) introduced a constant `BigUnsigned::N', the number of bits in a `BigUnsigned::Blk', which varies depending on machine word size. In both code and comments, it replaces the much clunkier `8*sizeof(Blk)'. Numerous other small changes. There's a new conversion routine `easyDataToBI' that will convert almost any format of binary data to a `BigInteger'. I have inserted a significant number of new comments. Most explain unobvious aspects of the code. @@ -46,4 +46,4 @@ Brad Spencer pointed out a memory leak in `BigUnsigned::divide'. It is fixed in --------- After months of inactivity, I fixed a bug in the `BigInteger' division routine; thanks to David Allen for reporting the bug. I also added simple routines for decimal output to `std::ostream's, and there is a demo that prints out powers of 3. -===================================================================== \ No newline at end of file ++===================================================================+ \ No newline at end of file diff --git a/README b/README index 055ad6f..854d7a1 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ +===================================================================+ | Big Integer Library | | A C++ library that does arithmetic on integers of unlimited size. | -| Version 2005.01.16 | +| Version 2005.01.17 | +-------------------------------------------------------------------+ | By Matt McCutchen | | E-mail: hashproduct@verizon.net | -- 2.34.1