Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83395 - trunk/boost/multiprecision/detail
From: e_float_at_[hidden]
Date: 2013-03-10 07:04:11


Author: christopher_kormanyos
Date: 2013-03-10 07:04:09 EDT (Sun, 10 Mar 2013)
New Revision: 83395
URL: http://svn.boost.org/trac/boost/changeset/83395

Log:
Proper copyright information + foundations for cpp_bin_float.
Added:
   trunk/boost/multiprecision/detail/utype_helper.hpp (contents, props changed)
Text files modified:
   trunk/boost/multiprecision/detail/dynamic_array.hpp | 4 ++--
   trunk/boost/multiprecision/detail/rebind.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/multiprecision/detail/dynamic_array.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/dynamic_array.hpp (original)
+++ trunk/boost/multiprecision/detail/dynamic_array.hpp 2013-03-10 07:04:09 EDT (Sun, 10 Mar 2013)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Copyright Christopher Kormanyos 2013.
-// Copyright 2012 John Maddock. Distributed under the Boost
+// Copyright 2012 John Maddock.
+// Copyright Christopher Kormanyos 2013. 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)
 //

Modified: trunk/boost/multiprecision/detail/rebind.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/rebind.hpp (original)
+++ trunk/boost/multiprecision/detail/rebind.hpp 2013-03-10 07:04:09 EDT (Sun, 10 Mar 2013)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Copyright Christopher Kormanyos 2013.
-// Copyright 2012 John Maddock. Distributed under the Boost
+// Copyright 2012 John Maddock.
+// Copyright Christopher Kormanyos 2013. 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)
 //

Added: trunk/boost/multiprecision/detail/utype_helper.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/multiprecision/detail/utype_helper.hpp 2013-03-10 07:04:09 EDT (Sun, 10 Mar 2013)
@@ -0,0 +1,87 @@
+///////////////////////////////////////////////////////////////////////////////
+// Copyright 2012 John Maddock.
+// Copyright Christopher Kormanyos 2013. 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)
+//
+
+#ifndef BOOST_MP_UTYPE_HELPER_HPP
+ #define BOOST_MP_UTYPE_HELPER_HPP
+
+ #include <boost/cstdint.hpp>
+
+ namespace boost { namespace multiprecision {
+ namespace detail
+ {
+ template<const unsigned> struct utype_helper { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<0U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<1U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<2U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<3U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<4U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<5U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<6U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<7U> { typedef boost::uint8_t exact; };
+ template<> struct utype_helper<8U> { typedef boost::uint8_t exact; };
+
+ template<> struct utype_helper<9U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<10U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<11U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<12U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<13U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<14U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<15U> { typedef boost::uint16_t exact; };
+ template<> struct utype_helper<16U> { typedef boost::uint16_t exact; };
+
+ template<> struct utype_helper<17U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<18U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<19U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<20U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<21U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<22U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<23U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<24U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<25U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<26U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<27U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<28U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<29U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<30U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<31U> { typedef boost::uint32_t exact; };
+ template<> struct utype_helper<32U> { typedef boost::uint32_t exact; };
+
+ template<> struct utype_helper<33U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<34U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<35U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<36U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<37U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<38U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<39U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<40U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<41U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<42U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<43U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<44U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<45U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<46U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<47U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<48U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<49U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<50U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<51U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<52U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<53U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<54U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<55U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<56U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<57U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<58U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<59U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<60U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<61U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<62U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<63U> { typedef boost::uint64_t exact; };
+ template<> struct utype_helper<64U> { typedef boost::uint64_t exact; };
+ } } }
+
+#endif // BOOST_MP_UTYPE_HELPER_HPP


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