From 085d4403ed9986ccdb8602ff63c867dcbf272313 Mon Sep 17 00:00:00 2001
From: Guillaume Melquiond
Date: Thu, 24 Apr 2003 14:02:52 +0000
Subject: [PATCH] Added integer extension; added certain and possible
comparisons; reworked some documentation; corrected some bugs; removing
check_nan from strict checking
[SVN r18305]
---
doc/checking.htm | 14 +--
doc/comparisons.htm | 55 ++++----
doc/examples.htm | 116 ++++++++++++++---
doc/includes.htm | 56 ++++++---
doc/interval.htm | 25 ++--
include/boost/numeric/interval/arith3.hpp | 1 -
include/boost/numeric/interval/checking.hpp | 2 +-
include/boost/numeric/interval/compare.hpp | 2 +
.../numeric/interval/compare/certain.hpp | 119 ++++++++++++++++++
.../numeric/interval/compare/possible.hpp | 119 ++++++++++++++++++
.../boost/numeric/interval/ext/integer.hpp | 76 +++++++++++
test/Jamfile | 2 +
test/det.cpp | 2 +-
test/integer.cpp | 26 ++++
test/test_float.cpp | 49 ++++----
15 files changed, 571 insertions(+), 93 deletions(-)
create mode 100644 include/boost/numeric/interval/compare/certain.hpp
create mode 100644 include/boost/numeric/interval/compare/possible.hpp
create mode 100644 include/boost/numeric/interval/ext/integer.hpp
create mode 100644 test/integer.cpp
diff --git a/doc/checking.htm b/doc/checking.htm
index 6e82af5..aedd40b 100644
--- a/doc/checking.htm
+++ b/doc/checking.htm
@@ -187,15 +187,14 @@ if the base type does not have corresponding values).
intervals, then checking_base<T> is a possibility.
If you do not want empty intervals to be created and are not sure all
the numbers are valid, then checking_catch_nan<T,
- checking_no_empty<T> > can help you. This is the default
- policy and it is also called
- interval_lib::checking_strict.
+ checking_no_empty<T> > can help you.
If all the numbers will be valid and if no empty interval is supposed
to be created (or if you do not want them to be created), then you can
use checking_no_nan<T, checking_no_empty<T> >.
Please note that if T does not have a way to represent
invalid numbers, then this policy will behave the same way as
- checking_no_empty<T>.
+ checking_no_empty<T>. This is the default policy and
+ it is also called interval_lib::checking_strict.
If all numerical data are valid but the algorithm can produce and
manipulate empty intervals, then checking_no_nan<T>
should be used.
@@ -211,8 +210,9 @@ if the base type does not have corresponding values).
-Revised: 2003-01-19
-Copyright (c) Guillaume Melquiond, Sylvain Pion, Hervé Brönnimann, 2002.
-Polytechnic University.
+Revised: 2003-04-24
+Copyright (c) Guillaume Melquiond, Sylvain Pion, Hervé Brönnimann, 2002.
+Polytechnic University.
+Copyright (c) Guillaume Melquiond, 2003.