Last revised: , at |
+Last revised: , |
I was a lot of code in one header - 6400 lines. Very unwieldy to - understand and modify.
It was a lot of code in one header - 6400 lines. Very unwieldy + to understand and modify.
I couldn't find separate documentation other than that in the header file.
I didn't use Boost +
It didn't use Boost conventions for naming.
I required porting to different compilers.
It required porting to different compilers.
It had a very long license associated with it.
The package I downloaded didn't have a test suite
I believe the original SafeInt diff --git a/doc/html/numeric.html b/doc/html/numeric.html index 12276e8..4f36747 100644 --- a/doc/html/numeric.html +++ b/doc/html/numeric.html @@ -26,16 +26,16 @@
A type is Numeric if it has the properties of a number.
More specifically, a type T is Numeric if there exists
specialization of std::numeric_limits<T>. See the
@@ -50,9 +50,9 @@
Table 1. Notation
+Table 1. Notation
t - u |
V | -Invert sign | +subtract u from t | |||||||||||||||||||||||||||||
t + u |
V | -unary plus - a no op | +add u to t | |||||||||||||||||||||||||||||
t * u |
@@ -339,13 +339,13 @@
|
- 1. +1. |
Why does a binary operation on two
- |
|||||||||||||||||||||||||
|
There are a number of
| ||||||||||||||||||||||||||
|
- 2. +2. |
Why is there no policy driven design for handling @@ -78,7 +78,7 @@ unsigned int x = t1 - t2; // which policy should be invoked? | |||||||||||||||||||||||||
|
- 3. +3. |
Why is Boost.Convert not used. diff --git a/doc/html/rationale/overflow.html b/doc/html/rationale/overflow.html index 7fb41c7..612ade8 100644 --- a/doc/html/rationale/overflow.html +++ b/doc/html/rationale/overflow.html @@ -6,7 +6,7 @@ - + @@ -26,22 +26,22 @@This function is invoked by the library whenever it is not possible to produce a result for an arithmetic operation. void overflow(char const * const msg); If evironment supports C++ exceptions, this function throws the exception . If the environment does not support C++ exceptions, the user should @@ -55,13 +55,13 @@
#include <cstdio>
void overflow(char const * const msg){
@@ -72,7 +72,7 @@ void overflow(char const * const msg){
|