|
Boost-Commit : |
From: bdawes_at_[hidden]
Date: 2008-07-23 11:15:31
Author: bemandawes
Date: 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
New Revision: 47717
URL: http://svn.boost.org/trac/boost/changeset/47717
Log:
Merge trunk
Properties modified:
branches/release/libs/numeric/conversion/doc/html/HTML.manifest (props changed)
branches/release/libs/numeric/sublibs (props changed)
Text files modified:
branches/release/boost/numeric/conversion/bounds.hpp | 2
branches/release/boost/numeric/conversion/cast.hpp | 2
branches/release/boost/numeric/conversion/conversion_traits.hpp | 2
branches/release/boost/numeric/conversion/converter.hpp | 2
branches/release/boost/numeric/conversion/converter_policies.hpp | 2
branches/release/boost/numeric/conversion/detail/bounds.hpp | 2
branches/release/boost/numeric/conversion/detail/conversion_traits.hpp | 2
branches/release/boost/numeric/conversion/detail/converter.hpp | 2
branches/release/boost/numeric/conversion/detail/int_float_mixture.hpp | 2
branches/release/boost/numeric/conversion/detail/is_subranged.hpp | 2
branches/release/boost/numeric/conversion/detail/meta.hpp | 2
branches/release/boost/numeric/conversion/detail/sign_mixture.hpp | 2
branches/release/boost/numeric/conversion/detail/udt_builtin_mixture.hpp | 2
branches/release/boost/numeric/conversion/int_float_mixture.hpp | 2
branches/release/boost/numeric/conversion/int_float_mixture_enum.hpp | 2
branches/release/boost/numeric/conversion/is_subranged.hpp | 2
branches/release/boost/numeric/conversion/sign_mixture.hpp | 2
branches/release/boost/numeric/conversion/sign_mixture_enum.hpp | 2
branches/release/boost/numeric/conversion/udt_builtin_mixture.hpp | 2
branches/release/boost/numeric/conversion/udt_builtin_mixture_enum.hpp | 2
branches/release/boost/numeric/ublas/expression_types.hpp | 32 +++++++++---------
branches/release/boost/numeric/ublas/functional.hpp | 49 +++++++++++++++++------------
branches/release/boost/numeric/ublas/vector_expression.hpp | 2 +
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/bounds___traits_class.html | 27 +++++++++------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/conversion_traits___traits_class.html | 66 +++++++++++++++++++++++----------------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/converter___function_object.html | 62 ++++++++++++++++++++----------------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/definitions.html | 37 +++++++++++++---------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/improved_numeric_cast__.html | 30 ++++++++++-------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/numeric_converter_policy_classes.html | 39 ++++++++++++++---------
branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/type_requirements_and_user_defined_types_support.html | 41 ++++++++++++++----------
branches/release/libs/numeric/conversion/doc/html/index.html | 34 ++++++++++----------
branches/release/libs/numeric/conversion/doc/html/numeric_conversion/bibliography.html | 9 +++--
branches/release/libs/numeric/conversion/doc/html/numeric_conversion/history_and_acknowledgments.html | 21 +++++++-----
branches/release/libs/numeric/conversion/test/bounds_test.cpp | 2
branches/release/libs/numeric/conversion/test/converter_test.cpp | 2
branches/release/libs/numeric/interval/doc/interval.htm | 2
branches/release/libs/numeric/ublas/doc/overview.htm | 2
37 files changed, 281 insertions(+), 216 deletions(-)
Modified: branches/release/boost/numeric/conversion/bounds.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/bounds.hpp (original)
+++ branches/release/boost/numeric/conversion/bounds.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/cast.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/cast.hpp (original)
+++ branches/release/boost/numeric/conversion/cast.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/conversion_traits.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/conversion_traits.hpp (original)
+++ branches/release/boost/numeric/conversion/conversion_traits.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/converter.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/converter.hpp (original)
+++ branches/release/boost/numeric/conversion/converter.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/converter_policies.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/converter_policies.hpp (original)
+++ branches/release/boost/numeric/conversion/converter_policies.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/bounds.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/bounds.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/bounds.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/conversion_traits.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/conversion_traits.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/conversion_traits.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/converter.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/converter.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/converter.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/int_float_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/int_float_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/int_float_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/is_subranged.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/is_subranged.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/is_subranged.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/meta.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/meta.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/meta.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/sign_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/sign_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/sign_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/detail/udt_builtin_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/detail/udt_builtin_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/detail/udt_builtin_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/int_float_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/int_float_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/int_float_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/int_float_mixture_enum.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/int_float_mixture_enum.hpp (original)
+++ branches/release/boost/numeric/conversion/int_float_mixture_enum.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/is_subranged.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/is_subranged.hpp (original)
+++ branches/release/boost/numeric/conversion/is_subranged.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/sign_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/sign_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/sign_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/sign_mixture_enum.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/sign_mixture_enum.hpp (original)
+++ branches/release/boost/numeric/conversion/sign_mixture_enum.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/udt_builtin_mixture.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/udt_builtin_mixture.hpp (original)
+++ branches/release/boost/numeric/conversion/udt_builtin_mixture.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/conversion/udt_builtin_mixture_enum.hpp
==============================================================================
--- branches/release/boost/numeric/conversion/udt_builtin_mixture_enum.hpp (original)
+++ branches/release/boost/numeric/conversion/udt_builtin_mixture_enum.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/boost/numeric/ublas/expression_types.hpp
==============================================================================
--- branches/release/boost/numeric/ublas/expression_types.hpp (original)
+++ branches/release/boost/numeric/ublas/expression_types.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -217,13 +217,13 @@
}
template<class A>
BOOST_UBLAS_INLINE
- const vector_indirect<const E, A> operator () (const indirect_array<A> &ia) const {
- return vector_indirect<const E, A> (operator () (), ia);
+ const vector_indirect<const E, indirect_array<A> > operator () (const indirect_array<A> &ia) const {
+ return vector_indirect<const E, indirect_array<A> > (operator () (), ia);
}
template<class A>
BOOST_UBLAS_INLINE
- vector_indirect<E, A> operator () (const indirect_array<A> &ia) {
- return vector_indirect<E, A> (operator () (), ia);
+ vector_indirect<E, indirect_array<A> > operator () (const indirect_array<A> &ia) {
+ return vector_indirect<E, indirect_array<A> > (operator () (), ia);
}
BOOST_UBLAS_INLINE
@@ -244,13 +244,13 @@
}
template<class A>
BOOST_UBLAS_INLINE
- const vector_indirect<const E, A> project (const indirect_array<A> &ia) const {
- return vector_indirect<const E, A> (operator () (), ia);
+ const vector_indirect<const E, indirect_array<A> > project (const indirect_array<A> &ia) const {
+ return vector_indirect<const E, indirect_array<A> > (operator () (), ia);
}
template<class A>
BOOST_UBLAS_INLINE
- vector_indirect<E, A> project (const indirect_array<A> &ia) {
- return vector_indirect<E, A> (operator () (), ia);
+ vector_indirect<E, indirect_array<A> > project (const indirect_array<A> &ia) {
+ return vector_indirect<E, indirect_array<A> > (operator () (), ia);
}
#endif
};
@@ -371,13 +371,13 @@
}
template<class A>
BOOST_UBLAS_INLINE
- const matrix_indirect<const E, A> operator () (const indirect_array<A> &ia1, const indirect_array<A> &ia2) const {
- return matrix_indirect<const E, A> (operator () (), ia1, ia2);
+ const matrix_indirect<const E, indirect_array<A> > operator () (const indirect_array<A> &ia1, const indirect_array<A> &ia2) const {
+ return matrix_indirect<const E, indirect_array<A> > (operator () (), ia1, ia2);
}
template<class A>
BOOST_UBLAS_INLINE
- matrix_indirect<E, A> operator () (const indirect_array<A> &ia1, const indirect_array<A> &ia2) {
- return matrix_indirect<E, A> (operator () (), ia1, ia2);
+ matrix_indirect<E, indirect_array<A> > operator () (const indirect_array<A> &ia1, const indirect_array<A> &ia2) {
+ return matrix_indirect<E, indirect_array<A> > (operator () (), ia1, ia2);
}
BOOST_UBLAS_INLINE
@@ -398,13 +398,13 @@
}
template<class A>
BOOST_UBLAS_INLINE
- const matrix_indirect<const E, A> project (const indirect_array<A> &ia1, const indirect_array<A> &ia2) const {
- return matrix_indirect<const E, A> (operator () (), ia1, ia2);
+ const matrix_indirect<const E, indirect_array<A> > project (const indirect_array<A> &ia1, const indirect_array<A> &ia2) const {
+ return matrix_indirect<const E, indirect_array<A> > (operator () (), ia1, ia2);
}
template<class A>
BOOST_UBLAS_INLINE
- matrix_indirect<E, A> project (const indirect_array<A> &ia1, const indirect_array<A> &ia2) {
- return matrix_indirect<E, A> (operator () (), ia1, ia2);
+ matrix_indirect<E, indirect_array<A> > project (const indirect_array<A> &ia1, const indirect_array<A> &ia2) {
+ return matrix_indirect<E, indirect_array<A> > (operator () (), ia1, ia2);
}
#endif
};
Modified: branches/release/boost/numeric/ublas/functional.hpp
==============================================================================
--- branches/release/boost/numeric/ublas/functional.hpp (original)
+++ branches/release/boost/numeric/ublas/functional.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -446,6 +446,7 @@
size_type size (e ().size ());
for (size_type i = 0; i < size; ++ i) {
real_type u (type_traits<value_type>::norm_2 (e () (i)));
+ if ( real_type () /* zero */ == u ) continue;
if (scale < u) {
real_type v (scale / u);
sum_squares = sum_squares * v * v + real_type (1);
@@ -1851,6 +1852,8 @@
return (std::max) (i, j);
}
};
+
+ // the first row only contains a single 1. Thus it is not stored.
template <class Z>
struct basic_unit_lower : public basic_lower<Z> {
typedef Z size_type;
@@ -1879,21 +1882,23 @@
BOOST_UBLAS_INLINE
size_type element (L, size_type i, size_type size_i, size_type j, size_type size_j) {
// Zero size strict triangles are bad at this point
- BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0, bad_index ());
- return L::lower_element (i, size_i - 1, j, size_j - 1);
+ BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0 && i != 0, bad_index ());
+ return L::lower_element (i-1, size_i - 1, j, size_j - 1);
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict1 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) ( (std::max<size_type>)(1, i), j);
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict2 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) ( (std::max<size_type>)(1, i), j);
}
};
+
+ // the last row only contains a single 1. Thus it is not stored.
template <class Z>
struct basic_unit_upper : public basic_upper<Z> {
typedef Z size_type;
@@ -1922,21 +1927,23 @@
BOOST_UBLAS_INLINE
size_type element (L, size_type i, size_type size_i, size_type j, size_type size_j) {
// Zero size strict triangles are bad at this point
- BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0, bad_index ());
- return L::upper_element (i, size_i - 1, j, size_j - 1);
+ BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0 && j != 0, bad_index ());
+ return L::upper_element (i, size_i - 1, j-1, size_j - 1);
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict1 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) (i, (std::max<size_type>)(1, j));
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict2 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) (i, (std::max<size_type>)(1, j));
}
};
+
+ // the first row only contains a single 1. Thus it is not stored.
template <class Z>
struct basic_strict_lower : public basic_lower<Z> {
typedef Z size_type;
@@ -1970,31 +1977,33 @@
BOOST_UBLAS_INLINE
size_type element (L, size_type i, size_type size_i, size_type j, size_type size_j) {
// Zero size strict triangles are bad at this point
- BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0, bad_index ());
- return L::lower_element (i, size_i - 1, j, size_j - 1);
+ BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0 && i != 0, bad_index ());
+ return L::lower_element (i-1, size_i - 1, j, size_j - 1);
}
static
BOOST_UBLAS_INLINE
size_type restrict1 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) ( (std::max<size_type>)(1, i), j);
}
static
BOOST_UBLAS_INLINE
size_type restrict2 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) ( (std::max<size_type>)(1, i), j);
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict1 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) ( (std::max<size_type>)(1, i), j);
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict2 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) ( (std::max<size_type>)(1, i), j);
}
};
+
+ // the last row only contains a single 1. Thus it is not stored.
template <class Z>
struct basic_strict_upper : public basic_upper<Z> {
typedef Z size_type;
@@ -2028,29 +2037,29 @@
BOOST_UBLAS_INLINE
size_type element (L, size_type i, size_type size_i, size_type j, size_type size_j) {
// Zero size strict triangles are bad at this point
- BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0, bad_index ());
- return L::upper_element (i, size_i - 1, j, size_j - 1);
+ BOOST_UBLAS_CHECK (size_i != 0 && size_j != 0 && j != 0, bad_index ());
+ return L::upper_element (i, size_i - 1, j-1, size_j - 1);
}
static
BOOST_UBLAS_INLINE
size_type restrict1 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) (i, (std::max<size_type>)(1, j));
}
static
BOOST_UBLAS_INLINE
size_type restrict2 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) (i, (std::max<size_type>)(1, j));
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict1 (size_type i, size_type j) {
- return (std::min) (i, j);
+ return (std::min) (i, (std::max<size_type>)(1, j));
}
static
BOOST_UBLAS_INLINE
size_type mutable_restrict2 (size_type i, size_type j) {
- return (std::max) (i, j);
+ return (std::max) (i, (std::max<size_type>)(1, j));
}
};
Modified: branches/release/boost/numeric/ublas/vector_expression.hpp
==============================================================================
--- branches/release/boost/numeric/ublas/vector_expression.hpp (original)
+++ branches/release/boost/numeric/ublas/vector_expression.hpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1424,6 +1424,7 @@
typedef vector_scalar_unary<E, F> self_type;
public:
typedef typename F::result_type value_type;
+ typedef typename E::difference_type difference_type;
typedef const self_type const_closure_type;
typedef const_closure_type closure_type;
typedef unknown_storage_tag storage_category;
@@ -1555,6 +1556,7 @@
public:
static const unsigned complexity = 1;
typedef typename F::result_type value_type;
+ typedef typename E1::difference_type difference_type;
typedef const self_type const_closure_type;
typedef const_closure_type closure_type;
typedef unknown_storage_tag storage_category;
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/bounds___traits_class.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/bounds___traits_class.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/bounds___traits_class.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>bounds<> traits class</title>
+<title>bounds<>
+ traits class</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="type_requirements_and_user_defined_types_support.html" title="Type Requirements and User-defined-types support">
-<link rel="next" href="conversion_traits___traits_class.html" title="conversion_traits<> traits class">
+<link rel="prev" href="type_requirements_and_user_defined_types_support.html" title="Type
+ Requirements and User-defined-types support">
+<link rel="next" href="conversion_traits___traits_class.html" title="conversion_traits<>
+ traits class">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +27,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.bounds___traits_class"></a><a class="link" href="bounds___traits_class.html" title="bounds<> traits class">bounds<>
+<a name="boost_numericconversion.bounds___traits_class"></a><a href="bounds___traits_class.html" title="bounds<>
+ traits class">bounds<>
traits class</a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -35,7 +39,7 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.bounds___traits_class.introduction"></a><a class="link" href="bounds___traits_class.html#boost_numericconversion.bounds___traits_class.introduction" title="Introduction">Introduction</a>
+<a name="boost_numericconversion.bounds___traits_class.introduction"></a>Introduction
</h3></div></div></div>
<p>
To determine the ranges of numeric types with <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span></code>
@@ -55,7 +59,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.bounds___traits_class.traits_class_bounds_n_"></a><a class="link" href="bounds___traits_class.html#boost_numericconversion.bounds___traits_class.traits_class_bounds_n_" title="traits class bounds<N>">traits
+<a name="boost_numericconversion.bounds___traits_class.traits_class_bounds_n_"></a><a href="bounds___traits_class.html#boost_numericconversion.bounds___traits_class.traits_class_bounds_n_" title="traits
+ class bounds<N>">traits
class bounds<N></a>
</h3></div></div></div>
<pre class="programlisting">
@@ -68,8 +73,8 @@
<span class="special">};</span>
</pre>
<a name="boost_numericconversion.bounds___traits_class.traits_class_bounds_n_.members"></a><h5>
-<a name="id2646559"></a>
- <a class="link" href="bounds___traits_class.html#boost_numericconversion.bounds___traits_class.traits_class_bounds_n_.members">Members</a>
+<a name="id2626382"></a>
+ Members
</h5>
<div class="blockquote"><blockquote class="blockquote">
<p>
@@ -114,7 +119,7 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.bounds___traits_class.examples"></a><a class="link" href="bounds___traits_class.html#boost_numericconversion.bounds___traits_class.examples" title="Examples">Examples</a>
+<a name="boost_numericconversion.bounds___traits_class.examples"></a>Examples
</h3></div></div></div>
<p>
The following example demonstrates the use of <code class="computeroutput"><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">bounds</span><span class="special"><></span></code> and the equivalent code using <code class="computeroutput"><span class="identifier">numeric_limits</span></code>:
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/conversion_traits___traits_class.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/conversion_traits___traits_class.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/conversion_traits___traits_class.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>conversion_traits<> traits class</title>
+<title>conversion_traits<>
+ traits class</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="bounds___traits_class.html" title="bounds<> traits class">
-<link rel="next" href="numeric_converter_policy_classes.html" title="Numeric Converter Policy Classes">
+<link rel="prev" href="bounds___traits_class.html" title="bounds<>
+ traits class">
+<link rel="next" href="numeric_converter_policy_classes.html" title="Numeric
+ Converter Policy Classes">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +27,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.conversion_traits___traits_class"></a><a class="link" href="conversion_traits___traits_class.html" title="conversion_traits<> traits class">conversion_traits<>
+<a name="boost_numericconversion.conversion_traits___traits_class"></a><a href="conversion_traits___traits_class.html" title="conversion_traits<>
+ traits class">conversion_traits<>
traits class</a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -33,7 +37,7 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types" title="Types">Types</a>
+<a name="boost_numericconversion.conversion_traits___traits_class.types"></a>Types
</h3></div></div></div>
<div class="toc"><dl>
<dt><span class="section"><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_int_float_mixture_enum">enumeration
@@ -57,7 +61,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_int_float_mixture_enum"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_int_float_mixture_enum" title="enumeration int_float_mixture_enum">enumeration
+<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_int_float_mixture_enum"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_int_float_mixture_enum" title="enumeration
+ int_float_mixture_enum">enumeration
int_float_mixture_enum</a>
</h4></div></div></div>
<pre class="programlisting">
@@ -78,7 +83,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_sign_mixture_enum"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_sign_mixture_enum" title="enumeration sign_mixture_enum">enumeration
+<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_sign_mixture_enum"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_sign_mixture_enum" title="enumeration
+ sign_mixture_enum">enumeration
sign_mixture_enum</a>
</h4></div></div></div>
<pre class="programlisting">
@@ -99,7 +105,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_udt_builtin_mixture_enum"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_udt_builtin_mixture_enum" title="enumeration udt_builtin_mixture_enum">enumeration
+<a name="boost_numericconversion.conversion_traits___traits_class.types.enumeration_udt_builtin_mixture_enum"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.enumeration_udt_builtin_mixture_enum" title="enumeration
+ udt_builtin_mixture_enum">enumeration
udt_builtin_mixture_enum</a>
</h4></div></div></div>
<pre class="programlisting">
@@ -120,7 +127,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_int_float_mixture__"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_int_float_mixture__" title="template class int_float_mixture<>">template
+<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_int_float_mixture__"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_int_float_mixture__" title="template
+ class int_float_mixture<>">template
class int_float_mixture<></a>
</h4></div></div></div>
<pre class="programlisting">
@@ -138,14 +146,15 @@
</p>
<p>
Its <code class="computeroutput"><span class="special">::</span><span class="identifier">value</span></code>
- is of enumeration type <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_int_float_mixture_enum"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">int_float_mixture_enum</span></code></a>
+ is of enumeration type boost::numeric::int_float_mixture_enum
</p>
</div>
<a name="numeric_conversion_traits_class_sign_mixture"></a><p>
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_sign_mixture__"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_sign_mixture__" title="template class sign_mixture<>">template
+<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_sign_mixture__"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_sign_mixture__" title="template
+ class sign_mixture<>">template
class sign_mixture<></a>
</h4></div></div></div>
<pre class="programlisting">
@@ -163,14 +172,15 @@
</p>
<p>
Its <code class="computeroutput"><span class="special">::</span><span class="identifier">value</span></code>
- is of enumeration type <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_sign_mixture_enum"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">sign_mixture_enum</span></code></a>
+ is of enumeration type boost::numeric::sign_mixture_enum
</p>
</div>
<a name="numeric_conversion_traits_class_udt_builtin_mixture"></a><p>
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_udt_builtin_mixture__"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_udt_builtin_mixture__" title="template class udt_builtin_mixture<>">template
+<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_udt_builtin_mixture__"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_udt_builtin_mixture__" title="template
+ class udt_builtin_mixture<>">template
class udt_builtin_mixture<></a>
</h4></div></div></div>
<pre class="programlisting">
@@ -188,14 +198,15 @@
</p>
<p>
Its <code class="computeroutput"><span class="special">::</span><span class="identifier">value</span></code>
- is of enumeration type <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_udt_builtin_mixture_enum"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">udt_builtin_mixture_enum</span></code></a>
+ is of enumeration type boost::numeric::udt_builtin_mixture_enum
</p>
</div>
<a name="numeric_conversion_traits_is_subranged"></a><p>
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_is_subranged__"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_is_subranged__" title="template class is_subranged<>">template
+<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_is_subranged__"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_is_subranged__" title="template
+ class is_subranged<>">template
class is_subranged<></a>
</h4></div></div></div>
<pre class="programlisting">
@@ -224,7 +235,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_conversion_traits__"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_conversion_traits__" title="template class conversion_traits<>">template
+<a name="boost_numericconversion.conversion_traits___traits_class.types.template_class_conversion_traits__"></a><a href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.types.template_class_conversion_traits__" title="template
+ class conversion_traits<>">template
class conversion_traits<></a>
</h4></div></div></div>
<pre class="programlisting">
@@ -255,7 +267,7 @@
direction: from a source type <code class="computeroutput"><span class="identifier">S</span></code>
to a target type <code class="computeroutput"><span class="identifier">T</span></code>. It
does not indicate the properties of a <span class="emphasis"><em>specific</em></span> conversion,
- but of the conversion direction. See <a class="link" href="definitions.html#numeric_conversion_definitions_subranged">Definitions</a>
+ but of the conversion direction. See Definitions
for details.
</p>
<p>
@@ -288,7 +300,7 @@
</td>
<td>
<p>
- Same as given by the traits class <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_class_int_float_mixture">int_float_mixture</a>
+ Same as given by the traits class int_float_mixture
</p>
</td>
</tr>
@@ -300,7 +312,7 @@
</td>
<td>
<p>
- Same as given by the traits class <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_class_sign_mixture">sign_mixture</a>
+ Same as given by the traits class sign_mixture
</p>
</td>
</tr>
@@ -312,7 +324,7 @@
</td>
<td>
<p>
- Same as given by the traits class <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_class_udt_builtin_mixture">udt_builtin_mixture</a>
+ Same as given by the traits class udt_builtin_mixture
</p>
</td>
</tr>
@@ -321,7 +333,7 @@
<p>
The traits class provides the following <a href="../../../../../mpl/refmanual/integral-constant.html" target="_top">MPL's
Integral Constant</a> \s of boolean type which indicates indirectly
- the relation between the Source and Target ranges (see <a class="link" href="definitions.html#numeric_conversion_definitions_range">Definitions</a>
+ the relation between the Source and Target ranges (see Definitions
for details).
</p>
<div class="informaltable"><table class="table">
@@ -348,7 +360,7 @@
</td>
<td>
<p>
- Same as given by <a class="link" href="conversion_traits___traits_class.html#numeric_conversion_traits_is_subranged">is_subranged</a>
+ Same as given by is_subranged
</p>
</td>
</tr>
@@ -429,7 +441,7 @@
<span class="keyword">const</span><span class="special">&</span></code>.
</p>
<p>
- It represents the optimal argument type for the <a class="link" href="../index.html#numeric_conversion_converter">converter</a>
+ It represents the optimal argument type for the converter
member functions.
</p>
<p>
@@ -450,7 +462,7 @@
This type is either target_type or target_type const&
</p>
<p>
- It represents the return type of the <a class="link" href="../index.html#numeric_conversion_converter">converter</a>
+ It represents the return type of the converter
member functions.
</p>
<p>
@@ -492,7 +504,7 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.conversion_traits___traits_class.examples"></a><a class="link" href="conversion_traits___traits_class.html#boost_numericconversion.conversion_traits___traits_class.examples" title="Examples">Examples</a>
+<a name="boost_numericconversion.conversion_traits___traits_class.examples"></a>Examples
</h3></div></div></div>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">cassert</span><span class="special">></span>
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/converter___function_object.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/converter___function_object.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/converter___function_object.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,20 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>converter<> function object</title>
+<title>converter<>
+ function object</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="prev" href="definitions.html" title="Definitions">
-<link rel="next" href="type_requirements_and_user_defined_types_support.html" title="Type Requirements and User-defined-types support">
+<link rel="next" href="type_requirements_and_user_defined_types_support.html" title="Type
+ Requirements and User-defined-types support">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +26,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.converter___function_object"></a><a class="link" href="converter___function_object.html" title="converter<> function object">converter<>
+<a name="boost_numericconversion.converter___function_object"></a><a href="converter___function_object.html" title="converter<>
+ function object">converter<>
function object</a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -39,7 +42,7 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.converter___function_object.synopsis"></a><a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.synopsis" title="Synopsis">Synopsis</a>
+<a name="boost_numericconversion.converter___function_object.synopsis"></a>Synopsis
</h3></div></div></div>
<pre class="programlisting">
<span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">numeric</span> <span class="special">{</span>
@@ -81,14 +84,15 @@
is a <a href="http://www.sgi.com/tech/stl/UnaryFunction.html" target="_top">Unary Function
Object</a> encapsulating the code to perform a numeric conversion with
the direction and properties specified by the Traits template parameter.
- It can optionally take some <a class="link" href="../index.html#numeric_coversion_converter_policies">policies</a>
+ It can optionally take some policies
which can be used to customize its behavior. The <code class="computeroutput"><span class="identifier">Traits</span></code>
parameter is not a policy but the parameter that defines the conversion.
</p>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.converter___function_object.template_parameters"></a><a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.template_parameters" title="Template parameters">Template
+<a name="boost_numericconversion.converter___function_object.template_parameters"></a><a href="converter___function_object.html#boost_numericconversion.converter___function_object.template_parameters" title="Template
+ parameters">Template
parameters</a>
</h3></div></div></div>
<div class="informaltable"><table class="table">
@@ -115,7 +119,7 @@
</td>
<td>
<p>
- The <a class="link" href="definitions.html#numeric_conversion_definitions_numeric_types">Numeric
+ The <a href="definitions.html#numeric_conversion_definitions_numeric_types">Numeric
Type</a> which is the <span class="emphasis"><em>Target</em></span> of the conversion.
</p>
</td>
@@ -128,7 +132,7 @@
</td>
<td>
<p>
- The <a class="link" href="definitions.html#numeric_conversion_definitions_numeric_types">Numeric
+ The <a href="definitions.html#numeric_conversion_definitions_numeric_types">Numeric
Type</a> which is the <span class="emphasis"><em>Source</em></span> of the conversion.
</p>
</td>
@@ -141,7 +145,7 @@
</td>
<td>
<p>
- This must be a conversion traits class with the interface of <a class="link" href="../index.html#numeric_conversion_traits"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">conversion_traits</span></code></a>
+ This must be a conversion traits class with the interface of boost::numeric::conversion_traits
</p>
</td>
</tr>
@@ -220,7 +224,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.converter___function_object.member_functions"></a><a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.member_functions" title="Member functions">Member
+<a name="boost_numericconversion.converter___function_object.member_functions"></a><a href="converter___function_object.html#boost_numericconversion.converter___function_object.member_functions" title="Member
+ functions">Member
functions</a>
</h3></div></div></div>
<div class="blockquote"><blockquote class="blockquote">
@@ -281,29 +286,29 @@
</p>
</blockquote></div>
<p>
- This <a class="link" href="converter___function_object.html#numeric_conversion_converter_internal">internal</a>
+ This internal
static member function determines if the value <code class="computeroutput"><span class="identifier">s</span></code>
can be represented by the target type without overflow.
</p>
<p>
It does not determine if the conversion is <span class="emphasis"><em>exact</em></span>; that
is, it does not detect <span class="emphasis"><em>inexact</em></span> conversions, only <span class="emphasis"><em>out-of-range</em></span>
- conversions (see the <a class="link" href="definitions.html#numeric_conversion_definitions_roundoff">Definitions</a>
+ conversions (see the Definitions
for further details).
</p>
<p>
- The return value is of enum type <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_converter_policies_range_check_result"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">numeric</span><span class="special">::</span><span class="identifier">range_check_result</span></code></a>
+ The return value is of enum type boost::numeric::range_check_result
</p>
<p>
The actual code for the range checking logic is optimized for the combined
properties of the source and target types. For example, a non-subranged conversion
(i.e: <code class="computeroutput"><span class="keyword">int</span></code>-><code class="computeroutput"><span class="keyword">float</span></code>), requires no range checking, so <code class="computeroutput"><span class="identifier">out_of_range</span><span class="special">()</span></code>
returns <code class="computeroutput"><span class="identifier">cInRange</span></code> directly.
- See the following <a class="link" href="converter___function_object.html#numeric_conversion_converter_range_checking_logic">table</a>
+ See the following table
for more details.
</p>
<p>
- If the user supplied a <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_user_range_checker">UserRangeChecker</a>
+ If the user supplied a UserRangeChecker
policy, is this policy which implements this function, so the implementation
is user defined, although it is expected to perform the same conceptual check
and return the appropriate result.
@@ -325,9 +330,9 @@
</p>
</blockquote></div>
<p>
- This <a class="link" href="converter___function_object.html#numeric_conversion_converter_internal">internal</a>
+ This internal
static member function calls out_of_range(s), and passes the result to the
- <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_overflow_handler">OverflowHandler</a>
+ OverflowHandler
policy class.
</p>
<p>
@@ -335,7 +340,7 @@
this is an empty inline function.
</p>
<p>
- If the user supplied a <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_user_range_checker">UserRangeChecker</a>
+ If the user supplied a UserRangeChecker
policy, is this policy which implements this function, so the implementation
is user defined, although it is expected to perform the same action as the
default. In particular, it is expected to pass the result of the check to
@@ -357,11 +362,11 @@
</p>
</blockquote></div>
<p>
- This <a class="link" href="converter___function_object.html#numeric_conversion_converter_internal">internal</a>
+ This internal
static member function performs the actual conversion.
</p>
<p>
- This function is externally supplied by the <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_raw_converter">RawConverter</a>
+ This function is externally supplied by the RawConverter
policy class.
</p>
<p>
@@ -380,14 +385,14 @@
</p>
</blockquote></div>
<p>
- This <a class="link" href="converter___function_object.html#numeric_conversion_converter_internal">internal</a>
+ This internal
static member function, which is <span class="underline">only used</span>
for <code class="computeroutput"><span class="keyword">float</span></code> to <code class="computeroutput"><span class="keyword">int</span></code>
conversions, returns an <span class="emphasis"><em>integer</em></span> value of <span class="emphasis"><em><span class="underline">floating-point type</span></em></span> according to some
rounding direction.
</p>
<p>
- This function is externally supplied by the <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_float_to_int_rounder">Float2IntRounder</a>
+ This function is externally supplied by the Float2IntRounder
policy class which encapsulates the specific rounding mode.
</p>
<p>
@@ -396,8 +401,8 @@
<a name="numeric_conversion_converter_internal"></a><p>
</p>
<a name="boost_numericconversion.converter___function_object.member_functions.internal_member_functions"></a><h5>
-<a name="id2644439"></a>
- <a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.member_functions.internal_member_functions">Internal
+<a name="id2624118"></a>
+ <a href="converter___function_object.html#boost_numericconversion.converter___function_object.member_functions.internal_member_functions">Internal
Member Functions</a>
</h5>
<p>
@@ -410,7 +415,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.converter___function_object.range_checking_logic"></a><a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.range_checking_logic" title="Range Checking Logic">Range
+<a name="boost_numericconversion.converter___function_object.range_checking_logic"></a><a href="converter___function_object.html#boost_numericconversion.converter___function_object.range_checking_logic" title="Range
+ Checking Logic">Range
Checking Logic</a>
</h3></div></div></div>
<p>
@@ -459,7 +465,7 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.converter___function_object.examples"></a><a class="link" href="converter___function_object.html#boost_numericconversion.converter___function_object.examples" title="Examples">Examples</a>
+<a name="boost_numericconversion.converter___function_object.examples"></a>Examples
</h3></div></div></div>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">cassert</span><span class="special">></span>
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/definitions.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/definitions.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/definitions.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -3,16 +3,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Definitions</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="prev" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="next" href="converter___function_object.html" title="converter<> function object">
+<link rel="next" href="converter___function_object.html" title="converter<>
+ function object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +25,7 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.definitions"></a><a class="link" href="definitions.html" title="Definitions">Definitions</a>
+<a name="boost_numericconversion.definitions"></a>Definitions
</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="section">Introduction</span></dt>
@@ -45,14 +46,13 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.introduction"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.introduction" title="Introduction">Introduction</a>
+<a name="boost_numericconversion.definitions.introduction"></a>Introduction
</h3></div></div></div>
<p>
This section provides definitions of terms used in the Numeric Conversion
library.
</p>
<div class="sidebar">
-<p class="title"><b></b></p>
<p>
<span class="bold"><strong>Notation</strong></span> <span class="underline">underlined
text</span> denotes terms defined in the C++ standard.
@@ -65,7 +65,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.types_and_values"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.types_and_values" title="Types and Values">Types
+<a name="boost_numericconversion.definitions.types_and_values"></a><a href="definitions.html#boost_numericconversion.definitions.types_and_values" title="Types
+ and Values">Types
and Values</a>
</h3></div></div></div>
<p>
@@ -164,7 +165,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.c___arithmetic_types"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.c___arithmetic_types" title="C++ Arithmetic Types">C++
+<a name="boost_numericconversion.definitions.c___arithmetic_types"></a><a href="definitions.html#boost_numericconversion.definitions.c___arithmetic_types" title="C++
+ Arithmetic Types">C++
Arithmetic Types</a>
</h3></div></div></div>
<p>
@@ -264,7 +266,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.numeric_types"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.numeric_types" title="Numeric Types">Numeric
+<a name="boost_numericconversion.definitions.numeric_types"></a><a href="definitions.html#boost_numericconversion.definitions.numeric_types" title="Numeric
+ Types">Numeric
Types</a>
</h3></div></div></div>
<p>
@@ -295,8 +298,8 @@
one arithmetic type.
</li>
<li>
- Has <a class="link" href="definitions.html#numeric_conversion_definitions_range">range</a>
- (possibly unbounded) and <a class="link" href="definitions.html#numeric_conversion_definitions_range">precision</a>
+ Has range
+ (possibly unbounded) and precision
(possibly dynamic or unlimited).
</li>
<li>
@@ -373,7 +376,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.range_and_precision"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.range_and_precision" title="Range and Precision">Range
+<a name="boost_numericconversion.definitions.range_and_precision"></a><a href="definitions.html#boost_numericconversion.definitions.range_and_precision" title="Range
+ and Precision">Range
and Precision</a>
</h3></div></div></div>
<p>
@@ -536,7 +540,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.exact__correctly_rounded_and_out_of_range_representations"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.exact__correctly_rounded_and_out_of_range_representations" title="Exact, Correctly Rounded and Out-Of-Range Representations">Exact,
+<a name="boost_numericconversion.definitions.exact__correctly_rounded_and_out_of_range_representations"></a><a href="definitions.html#boost_numericconversion.definitions.exact__correctly_rounded_and_out_of_range_representations" title="Exact,
+ Correctly Rounded and Out-Of-Range Representations">Exact,
Correctly Rounded and Out-Of-Range Representations</a>
</h3></div></div></div>
<p>
@@ -702,7 +707,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.standard__numeric__conversions"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.standard__numeric__conversions" title="Standard (numeric) Conversions">Standard
+<a name="boost_numericconversion.definitions.standard__numeric__conversions"></a><a href="definitions.html#boost_numericconversion.definitions.standard__numeric__conversions" title="Standard
+ (numeric) Conversions">Standard
(numeric) Conversions</a>
</h3></div></div></div>
<p>
@@ -802,7 +808,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.definitions.subranged_conversion_direction__subtype_and_supertype"></a><a class="link" href="definitions.html#boost_numericconversion.definitions.subranged_conversion_direction__subtype_and_supertype" title="Subranged Conversion Direction, Subtype and Supertype">Subranged
+<a name="boost_numericconversion.definitions.subranged_conversion_direction__subtype_and_supertype"></a><a href="definitions.html#boost_numericconversion.definitions.subranged_conversion_direction__subtype_and_supertype" title="Subranged
+ Conversion Direction, Subtype and Supertype">Subranged
Conversion Direction, Subtype and Supertype</a>
</h3></div></div></div>
<p>
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/improved_numeric_cast__.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/improved_numeric_cast__.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/improved_numeric_cast__.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Improved numeric_cast<></title>
+<title>Improved
+ numeric_cast<></title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="numeric_converter_policy_classes.html" title="Numeric Converter Policy Classes">
-<link rel="next" href="../numeric_conversion/history_and_acknowledgments.html" title="History and Acknowledgments">
+<link rel="prev" href="numeric_converter_policy_classes.html" title="Numeric
+ Converter Policy Classes">
+<link rel="next" href="../numeric_conversion/history_and_acknowledgments.html" title="History
+ and Acknowledgments">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +27,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.improved_numeric_cast__"></a><a class="link" href="improved_numeric_cast__.html" title="Improved numeric_cast<>">Improved
+<a name="boost_numericconversion.improved_numeric_cast__"></a><a href="improved_numeric_cast__.html" title="Improved
+ numeric_cast<>">Improved
numeric_cast<></a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -34,12 +38,12 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.improved_numeric_cast__.introduction"></a><a class="link" href="improved_numeric_cast__.html#boost_numericconversion.improved_numeric_cast__.introduction" title="Introduction">Introduction</a>
+<a name="boost_numericconversion.improved_numeric_cast__.introduction"></a>Introduction
</h3></div></div></div>
<p>
The lack of preservation of range makes conversions between numeric types
error prone. This is true for both implicit conversions and explicit conversions
- (through <code class="computeroutput"><span class="keyword">static_cast</span></code>). <a class="link" href="improved_numeric_cast__.html#numeric_conversion_numeric_cast"><code class="computeroutput"><span class="identifier">numeric_cast</span></code></a>
+ (through <code class="computeroutput"><span class="keyword">static_cast</span></code>). numeric_cast
detects loss of range when a numeric type is converted, and throws an exception
if the range cannot be preserved.
</p>
@@ -80,7 +84,7 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.improved_numeric_cast__.numeric_cast"></a><a class="link" href="improved_numeric_cast__.html#boost_numericconversion.improved_numeric_cast__.numeric_cast" title="numeric_cast">numeric_cast</a>
+<a name="boost_numericconversion.improved_numeric_cast__.numeric_cast"></a>numeric_cast
</h3></div></div></div>
<pre class="programlisting">
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Target</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Source</span><span class="special">></span> <span class="keyword">inline</span>
@@ -93,15 +97,15 @@
<p>
<code class="computeroutput"><span class="identifier">numeric_cast</span></code> returns the
result of converting a value of type Source to a value of type Target. If
- out-of-range is detected, an exception is thrown (see <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_bad_numeric_cast">bad_numeric_cast</a>,
- <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_negative_overflow">negative_overflow</a>
- and <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_possitive_overflow">positive_overflow</a>
+ out-of-range is detected, an exception is thrown (see bad_numeric_cast,
+ negative_overflow
+ and positive_overflow
).
</p>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.improved_numeric_cast__.examples"></a><a class="link" href="improved_numeric_cast__.html#boost_numericconversion.improved_numeric_cast__.examples" title="Examples">Examples</a>
+<a name="boost_numericconversion.improved_numeric_cast__.examples"></a>Examples
</h3></div></div></div>
<p>
The following example performs some typical conversions between numeric types:
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/numeric_converter_policy_classes.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/numeric_converter_policy_classes.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/numeric_converter_policy_classes.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Numeric Converter Policy Classes</title>
+<title>Numeric
+ Converter Policy Classes</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="conversion_traits___traits_class.html" title="conversion_traits<> traits class">
-<link rel="next" href="improved_numeric_cast__.html" title="Improved numeric_cast<>">
+<link rel="prev" href="conversion_traits___traits_class.html" title="conversion_traits<>
+ traits class">
+<link rel="next" href="improved_numeric_cast__.html" title="Improved
+ numeric_cast<>">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +27,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.numeric_converter_policy_classes"></a><a class="link" href="numeric_converter_policy_classes.html" title="Numeric Converter Policy Classes">Numeric
+<a name="boost_numericconversion.numeric_converter_policy_classes"></a><a href="numeric_converter_policy_classes.html" title="Numeric
+ Converter Policy Classes">Numeric
Converter Policy Classes</a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -43,7 +47,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.numeric_converter_policy_classes.enum_range_check_result"></a><a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.enum_range_check_result" title="enum range_check_result">enum
+<a name="boost_numericconversion.numeric_converter_policy_classes.enum_range_check_result"></a><a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.enum_range_check_result" title="enum
+ range_check_result">enum
range_check_result</a>
</h3></div></div></div>
<pre class="programlisting">
@@ -66,7 +71,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.numeric_converter_policy_classes.policy_overflowhandler"></a><a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_overflowhandler" title="Policy OverflowHandler">Policy
+<a name="boost_numericconversion.numeric_converter_policy_classes.policy_overflowhandler"></a><a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_overflowhandler" title="Policy
+ OverflowHandler">Policy
OverflowHandler</a>
</h3></div></div></div>
<p>
@@ -115,7 +121,7 @@
</pre>
<p>
And these are the Exception Classes thrown by the default overflow handler
- <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_overflow_handler_important_note">(see
+ <a href="numeric_converter_policy_classes.html#numeric_conversion_policy_overflow_handler_important_note">(see
IMPORTANT note)</a>
</p>
<a name="numeric_conversion_bad_numeric_cast"></a><a name="numeric_conversion_negative_overflow"></a><a name="numeric_conversion_possitive_overflow"></a><pre class="programlisting">
@@ -181,7 +187,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder"></a><a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder" title="Policy Float2IntRounder">Policy
+<a name="boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder"></a><a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder" title="Policy
+ Float2IntRounder">Policy
Float2IntRounder</a>
</h3></div></div></div>
<p>
@@ -280,8 +287,8 @@
<span class="special">}</span> <span class="special">}</span> <span class="comment">// namespace numeric, namespace boost
</span></pre>
<a name="boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder.math_functions_used_by_the_rounder_policies"></a><h5>
-<a name="id2654218"></a>
- <a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder.math_functions_used_by_the_rounder_policies">Math
+<a name="id2634042"></a>
+ <a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_float2introunder.math_functions_used_by_the_rounder_policies">Math
Functions used by the rounder policies</a>
</h5>
<p>
@@ -299,7 +306,7 @@
This technique allows the default rounder policies to be used directly with
user defined types. The user only requires that suitable overloads of <code class="computeroutput"><span class="identifier">floor</span><span class="special">()</span></code>
and <code class="computeroutput"><span class="identifier">ceil</span><span class="special">()</span></code>
- be visible. See also <a class="link" href="../index.html#numeric_conversion_requirements">User
+ be visible. See also <a href="../index.html#numeric_conversion_requirements">User
Defined Numeric Types</a> support.
</p>
</div>
@@ -307,7 +314,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.numeric_converter_policy_classes.policy_rawconverter"></a><a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_rawconverter" title="Policy RawConverter">Policy
+<a name="boost_numericconversion.numeric_converter_policy_classes.policy_rawconverter"></a><a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_rawconverter" title="Policy
+ RawConverter">Policy
RawConverter</a>
</h3></div></div></div>
<p>
@@ -359,7 +367,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.numeric_converter_policy_classes.policy_userrangechecker"></a><a class="link" href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_userrangechecker" title="Policy UserRangeChecker">Policy
+<a name="boost_numericconversion.numeric_converter_policy_classes.policy_userrangechecker"></a><a href="numeric_converter_policy_classes.html#boost_numericconversion.numeric_converter_policy_classes.policy_userrangechecker" title="Policy
+ UserRangeChecker">Policy
UserRangeChecker</a>
</h3></div></div></div>
<p>
Modified: branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/type_requirements_and_user_defined_types_support.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/type_requirements_and_user_defined_types_support.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/boost_numericconversion/type_requirements_and_user_defined_types_support.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Type Requirements and User-defined-types support</title>
+<title>Type
+ Requirements and User-defined-types support</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="converter___function_object.html" title="converter<> function object">
-<link rel="next" href="bounds___traits_class.html" title="bounds<> traits class">
+<link rel="prev" href="converter___function_object.html" title="converter<>
+ function object">
+<link rel="next" href="bounds___traits_class.html" title="bounds<>
+ traits class">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,7 +27,8 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="boost_numericconversion.type_requirements_and_user_defined_types_support"></a><a class="link" href="type_requirements_and_user_defined_types_support.html" title="Type Requirements and User-defined-types support">Type
+<a name="boost_numericconversion.type_requirements_and_user_defined_types_support"></a><a href="type_requirements_and_user_defined_types_support.html" title="Type
+ Requirements and User-defined-types support">Type
Requirements and User-defined-types support</a>
</h2></div></div></div>
<div class="toc"><dl>
@@ -37,7 +41,8 @@
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.type_requirements"></a><a class="link" href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.type_requirements" title="Type Requirements">Type
+<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.type_requirements"></a><a href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.type_requirements" title="Type
+ Requirements">Type
Requirements</a>
</h3></div></div></div>
<p>
@@ -76,17 +81,18 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics"></a><a class="link" href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics" title="UDT's special semantics">UDT's
+<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics"></a><a href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics" title="UDT's
+ special semantics">UDT's
special semantics</a>
</h3></div></div></div>
<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.conversion_traits"></a><h5>
-<a name="id2645593"></a>
- <a class="link" href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.conversion_traits">Conversion
+<a name="id2625386"></a>
+ <a href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.conversion_traits">Conversion
Traits</a>
</h5>
<p>
If a User Defined Type is involved in a conversion, it is <span class="emphasis"><em>assumed</em></span>
- that the UDT has <a class="link" href="definitions.html#numeric_conversion_definitions_range">wider
+ that the UDT has <a href="definitions.html#numeric_conversion_definitions_range">wider
range</a> than any built-in type, and consequently the values of some
<code class="computeroutput"><span class="identifier">converter_traits</span><span class="special"><></span></code>
members are hardwired regardless of the reality. The following table summarizes
@@ -124,8 +130,8 @@
above.
</p>
<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.range_checking"></a><h5>
-<a name="id2645983"></a>
- <a class="link" href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.range_checking">Range
+<a name="id2625806"></a>
+ <a href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.udt_s_special_semantics.range_checking">Range
Checking</a>
</h5>
<p>
@@ -135,7 +141,7 @@
Target or Source are not built-in types, the bundled range checking of the
<code class="computeroutput"><span class="identifier">converter</span><span class="special"><></span></code>
function object is automatically disabled. However, it is possible to supply
- a user-defined range-checker. See <a class="link" href="type_requirements_and_user_defined_types_support.html#numeric_conversion_requirements_hooks">Special
+ a user-defined range-checker. See <a href="type_requirements_and_user_defined_types_support.html#numeric_conversion_requirements_hooks">Special
Policies</a>
</p>
</div>
@@ -143,7 +149,8 @@
</p>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.special_policies"></a><a class="link" href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.special_policies" title="Special Policies">Special
+<a name="boost_numericconversion.type_requirements_and_user_defined_types_support.special_policies"></a><a href="type_requirements_and_user_defined_types_support.html#boost_numericconversion.type_requirements_and_user_defined_types_support.special_policies" title="Special
+ Policies">Special
Policies</a>
</h3></div></div></div>
<p>
@@ -159,7 +166,7 @@
<p>
However, this internal logic is disabled when either type is User Defined.
In this case, the user can specify an <span class="emphasis"><em>external</em></span> range
- checking policy which will be used in place of the internal code. See <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_user_range_checker">UserRangeChecker</a>
+ checking policy which will be used in place of the internal code. See UserRangeChecker
policy for details.
</p>
<p>
@@ -169,7 +176,7 @@
<p>
However, if the a UDT is involved, the <code class="computeroutput"><span class="keyword">static_cast</span></code>
might not work. In this case, the user can implement and pass a different
- raw converter policy. See <a class="link" href="numeric_converter_policy_classes.html#numeric_conversion_policy_raw_converter">RawConverter</a>
+ raw converter policy. See RawConverter
policy for details
</p>
</div>
Modified: branches/release/libs/numeric/conversion/doc/html/index.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/index.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/index.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -3,14 +3,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chapter 1. Boost.NumericConversion</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="next" href="boost_numericconversion/definitions.html" title="Definitions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -27,7 +27,7 @@
</h3></div></div>
<div><p class="copyright">Copyright © 2004 -2007 Fernando Luis Cacciola Carballal</p></div>
<div><div class="legalnotice">
-<a name="id2625902"></a><p>
+<a name="id2604942"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -119,49 +119,49 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="numeric_conversion.overview"></a><a class="link" href="index.html#numeric_conversion.overview" title="Overview">Overview</a>
+<a name="numeric_conversion.overview"></a>Overview
</h2></div></div></div>
<p>
The Boost Numeric Conversion library is a collection of tools to describe and
- perform conversions between values of different <a class="link" href="boost_numericconversion/definitions.html#numeric_conversion_definitions_numeric_types">numeric
+ perform conversions between values of different <a href="boost_numericconversion/definitions.html#numeric_conversion_definitions_numeric_types">numeric
types</a>.
</p>
<p>
- The library includes a special alternative for a subset of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><></span></code>, the <a class="link" href="index.html#numeric_conversion_bounds">bounds<></a>
- traits class, which provides a consistent way to obtain the <a class="link" href="boost_numericconversion/definitions.html#numeric_conversion_definitions_range">boundary</a>
- values for the <a class="link" href="boost_numericconversion/definitions.html#numeric_conversion_definitions_range">range</a>
+ The library includes a special alternative for a subset of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><></span></code>, the bounds<>
+ traits class, which provides a consistent way to obtain the boundary
+ values for the range
of a numeric type.
</p>
<p>
- It also includes a set of <a class="link" href="index.html#numeric_conversion_traits">trait classes</a>
+ It also includes a set of trait classes
which describes the compile-time properties of a conversion from a source to
- a target numeric type. Both <a class="link" href="boost_numericconversion/definitions.html#numeric_conversion_cpp_arithmetic_types">arithmetic</a>
- and <a class="link" href="boost_numericconversion/definitions.html#numeric_conversion_definitions_numeric_types">user-defined
+ a target numeric type. Both arithmetic
+ and <a href="boost_numericconversion/definitions.html#numeric_conversion_definitions_numeric_types">user-defined
numeric types</a> can be used.
</p>
<p>
- A policy-based <a class="link" href="index.html#numeric_conversion_converter">converter</a>
+ A policy-based converter
object which uses <code class="computeroutput"><span class="identifier">conversion_traits</span></code>
to select an optimized implementation is supplied. Such implementation uses
an optimal range checking code suitable for the source/target combination.
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- The converter's out-of-range behavior can be customized via an <a class="link" href="boost_numericconversion/numeric_converter_policy_classes.html#numeric_conversion_policy_overflow_handler">OverflowHandler</a>
+ The converter's out-of-range behavior can be customized via an OverflowHandler
policy.
</li>
<li>
For floating-point to integral conversions, the rounding mode can be selected
- via the <a class="link" href="boost_numericconversion/numeric_converter_policy_classes.html#numeric_conversion_policy_float_to_int_rounder">Float2IntRounder</a>
+ via the Float2IntRounder
policy.
</li>
<li>
A custom low-level conversion routine (for UDTs for instance) can be passed
- via a <a class="link" href="boost_numericconversion/numeric_converter_policy_classes.html#numeric_conversion_policy_raw_converter">RawConverter</a>
+ via a RawConverter
policy.
</li>
<li>
- The optimized automatic range-checking logic can be overridden via a <a class="link" href="boost_numericconversion/numeric_converter_policy_classes.html#numeric_conversion_policy_user_range_checker">UserRangeChecker</a>
+ The optimized automatic range-checking logic can be overridden via a UserRangeChecker
policy.
</li>
</ul></div>
@@ -178,7 +178,7 @@
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: March 15, 2008 at 14:03:12 GMT</small></p></td>
+<td align="left"><p><small>Last revised: February 12, 2008 at 22:56:38 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: branches/release/libs/numeric/conversion/doc/html/numeric_conversion/bibliography.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/numeric_conversion/bibliography.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/numeric_conversion/bibliography.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -3,15 +3,16 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Bibliography</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="history_and_acknowledgments.html" title="History and Acknowledgments">
+<link rel="prev" href="history_and_acknowledgments.html" title="History
+ and Acknowledgments">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -23,7 +24,7 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="numeric_conversion.bibliography"></a><a class="link" href="bibliography.html" title="Bibliography">Bibliography</a>
+<a name="numeric_conversion.bibliography"></a>Bibliography
</h2></div></div></div>
<div class="itemizedlist"><ul type="disc">
<li>
Modified: branches/release/libs/numeric/conversion/doc/html/numeric_conversion/history_and_acknowledgments.html
==============================================================================
--- branches/release/libs/numeric/conversion/doc/html/numeric_conversion/history_and_acknowledgments.html (original)
+++ branches/release/libs/numeric/conversion/doc/html/numeric_conversion/history_and_acknowledgments.html 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,18 +1,20 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>History and Acknowledgments</title>
+<title>History
+ and Acknowledgments</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<link rel="start" href="../index.html" title="Chapter 1. Boost.NumericConversion">
<link rel="up" href="../index.html" title="Chapter 1. Boost.NumericConversion">
-<link rel="prev" href="../boost_numericconversion/improved_numeric_cast__.html" title="Improved numeric_cast<>">
+<link rel="prev" href="../boost_numericconversion/improved_numeric_cast__.html" title="Improved
+ numeric_cast<>">
<link rel="next" href="bibliography.html" title="Bibliography">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
-<td align="center">Home</td>
+<td align="center">Home</td>
<td align="center">Libraries</td>
<td align="center">People</td>
<td align="center">FAQ</td>
@@ -24,12 +26,13 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="numeric_conversion.history_and_acknowledgments"></a><a class="link" href="history_and_acknowledgments.html" title="History and Acknowledgments">History
+<a name="numeric_conversion.history_and_acknowledgments"></a><a href="history_and_acknowledgments.html" title="History
+ and Acknowledgments">History
and Acknowledgments</a>
</h2></div></div></div>
<a name="numeric_conversion.history_and_acknowledgments.pre_formal_review"></a><h4>
-<a name="id2656675"></a>
- <a class="link" href="history_and_acknowledgments.html#numeric_conversion.history_and_acknowledgments.pre_formal_review">Pre-formal
+<a name="id2636499"></a>
+ <a href="history_and_acknowledgments.html#numeric_conversion.history_and_acknowledgments.pre_formal_review">Pre-formal
review</a>
</h4>
<div class="itemizedlist"><ul type="disc">
@@ -64,8 +67,8 @@
</li>
</ul></div>
<a name="numeric_conversion.history_and_acknowledgments.post_formal_review"></a><h4>
-<a name="id2656827"></a>
- <a class="link" href="history_and_acknowledgments.html#numeric_conversion.history_and_acknowledgments.post_formal_review">Post-formal
+<a name="id2636651"></a>
+ <a href="history_and_acknowledgments.html#numeric_conversion.history_and_acknowledgments.post_formal_review">Post-formal
review</a>
</h4>
<div class="itemizedlist"><ul type="disc">
Modified: branches/release/libs/numeric/conversion/test/bounds_test.cpp
==============================================================================
--- branches/release/libs/numeric/conversion/test/bounds_test.cpp (original)
+++ branches/release/libs/numeric/conversion/test/bounds_test.cpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/libs/numeric/conversion/test/converter_test.cpp
==============================================================================
--- branches/release/libs/numeric/conversion/test/converter_test.cpp (original)
+++ branches/release/libs/numeric/conversion/test/converter_test.cpp 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -1,4 +1,4 @@
-// © Copyright Fernando Luis Cacciola Carballal 2000-2004
+// (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/libs/numeric/interval/doc/interval.htm
==============================================================================
--- branches/release/libs/numeric/interval/doc/interval.htm (original)
+++ branches/release/libs/numeric/interval/doc/interval.htm 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -87,7 +87,7 @@
<h3>Interval Arithmetic</h3>
<p>An interval is a pair of numbers which represents all the numbers
- between these two. (Intervals are considered close so the bounds are
+ between these two. (Intervals are considered closed so the bounds are
included.) The purpose of this library is to extend the usual arithmetic
functions to intervals. These intervals will be written [<i>a</i>,<i>b</i>]
to represent all the numbers between <i>a</i> and <i>b</i> (included).
Modified: branches/release/libs/numeric/ublas/doc/overview.htm
==============================================================================
--- branches/release/libs/numeric/ublas/doc/overview.htm (original)
+++ branches/release/libs/numeric/ublas/doc/overview.htm 2008-07-23 11:15:27 EDT (Wed, 23 Jul 2008)
@@ -286,7 +286,7 @@
<tr>
<td><code>sasum</code> OR <code>dasum</code></td>
<td><code>norm_1 (x)</code></td>
-<td><em>sum x<sub>i</sub></em></td>
+<td><em>sum |x<sub>i</sub>|</em></td>
<td>Computes the <em>l<sub>1</sub></em> (sum) norm of a real vector.</td>
</tr>
<tr>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk