Index: index.html
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/bigint/index.html,v
retrieving revision 1.1
diff -u -r1.1 index.html
--- index.html 5 Sep 2002 16:16:10 -0000 1.1
+++ index.html 6 Sep 2002 18:46:55 -0000
@@ -10,18 +10,18 @@
Defined in boost/bigint.hpp.
-
+
- Rationale
- Example
- Synopsis
- - Interface
+ - Interface
+
- Exceptions
- Internal Representation
- Design Notes
@@ -31,7 +31,7 @@
-
+
C++ contains a wealth of built-in types, such as int,
unsigned int, and long, that approximate
@@ -48,7 +48,7 @@
integral types as well.
-
+
The following is a simple example of the use of bigint
(bigint_example1.cpp):
@@ -76,7 +76,7 @@
40! = 815915283247897734345611269596115894272000000000
-
+
#include <boost/bigint.hpp>
@@ -135,9 +135,9 @@
}
-
+
-
+
bigint can be constructed, both explicitly and
implicitly, from any built-in integral type. Thus bigint can
interact conveniently with int and similar types.
@@ -185,7 +185,7 @@
-
+
All of the standard numeric operators are defined for the bigint
class. These include:
@@ -204,7 +204,7 @@
These operations have the semantics expected of a numeric type. Divide
by zero results in undefined behavior.
-
+
bigint provides an IOstream inserter (operator<<)
and extractor (operator>>). bigint is represented
externally as a string of decimal digits, prefixed with '-'
@@ -213,7 +213,7 @@
same form as accepted by the std::string-based
constructor, which is the same syntax inserted by operator<<.
-
+
Though bigint supports implicit conversion from built-in integral
types to integers, it does not support implicit conversion to the same
built in integral types. Nonetheless, bigint can be safely
@@ -251,7 +251,7 @@
-
+
bigint provides the
basic exception guarantee. Except for swap, all
@@ -262,7 +262,7 @@
caught, the object may be safely destructed or assigned to, but its
state is otherwise undefined.
-
+
Note: This section is meant only to inform. Programs should not
be written in such a way as to rely on these implementation details.
@@ -271,8 +271,8 @@
using a radix of 10,000 and kept in 10's complement form. Values are
stored from least significant "digit" to most significant "digit."
-
-
+
+
bigint is a reference implementation of the
interface. It defines an interface for
arbitrary magnitude integers and provides a portable
@@ -287,7 +287,7 @@
2. Seminumerical Algorithms. Chapter 4.
-
+
The author is aware of several high-performance
implementations of other integer libraries more focused upon
performance. In the future, this library may allow for
@@ -308,7 +308,7 @@
-Last modified: Thu Sep 5 11:13:57 EST 2002
+Last modified: Fri Sep 6 11:49:51 MST 2002