From cd99f24a87fbe67773ae6712e99c4f6ab2d7d87f Mon Sep 17 00:00:00 2001
From: John Maddock
Date: Tue, 26 Sep 2006 09:04:05 +0000
Subject: [PATCH 01/64] Changed test to reflect changes made to C99 in the TC.
[SVN r35333]
---
cstdint_test.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/cstdint_test.cpp b/cstdint_test.cpp
index 08c13be..88422de 100644
--- a/cstdint_test.cpp
+++ b/cstdint_test.cpp
@@ -113,10 +113,24 @@ void integral_constant_type_check(T1, T2)
assert(sizeof(T1) == sizeof(T2));
assert(t1 == t2);
#endif
+#if defined(BOOST_HAS_STDINT_H)
+ // native headers are permitted to promote small
+ // unsigned types to type int:
+ if(sizeof(T1) >= sizeof(int))
+ {
+ if(t1 > 0)
+ assert(t2 > 0);
+ else
+ assert(!(t2 > 0));
+ }
+ else if(t1 < 0)
+ assert(!(t2 > 0));
+#else
if(t1 > 0)
assert(t2 > 0);
else
assert(!(t2 > 0));
+#endif
}
From a1cc143de74115e5c351dd9ddc4dd56a47aa379b Mon Sep 17 00:00:00 2001
From: Daryle Walker
Date: Sat, 4 Nov 2006 22:58:43 +0000
Subject: [PATCH 02/64] Added license to a person profile; updated license on
Boost.Integer and Boost.IO doc files; changed 'BOOST_TEST' to 'BOOST_CHECK'
on Boost.Integer testing *.cpp files
[SVN r35844]
---
doc/integer_mask.html | 9 +++--
doc/static_min_max.html | 9 +++--
integer.htm | 9 +++--
test/integer_mask_test.cpp | 8 ++---
test/static_log2_test.cpp | 2 +-
test/static_min_max_test.cpp | 70 ++++++++++++++++++------------------
6 files changed, 52 insertions(+), 55 deletions(-)
diff --git a/doc/integer_mask.html b/doc/integer_mask.html
index 357b2c8..0328bbc 100644
--- a/doc/integer_mask.html
+++ b/doc/integer_mask.html
@@ -202,10 +202,9 @@ href="../../../people/daryle_walker.html">Daryle Walker.
Revised September 23, 2001
-© Copyright Daryle Walker 2001. Permission to copy, use,
-modify, sell and distribute this document is granted provided this
-copyright notice appears in all copies. This document is provided
-"as is" without express or implied warranty, and with no claim
-as to its suitability for any purpose.
+© Copyright Daryle Walker 2001. Use, modification, and distribution are
+subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)