1 --- a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:09.804149686 +0200
2 +++ a/b/boost/boost/random/generate_canonical.hpp 2013-05-31 18:13:30.020195845 +0200
5 BOOST_ASSERT((g.min)() == 0);
6 BOOST_ASSERT((g.max)() == 1);
7 - typedef typename URNG::result_type base_result;
8 std::size_t digits = std::numeric_limits<RealType>::digits;
9 std::size_t engine_bits = detail::generator_bits<URNG>::value();
10 std::size_t b = (std::min)(bits, digits);
11 --- a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:15:04.571429634 +0200
12 +++ a/b/boost/boost/random/uniform_real_distribution.hpp 2013-05-31 18:14:28.452337186 +0200
16 typedef T result_type;
17 - typedef typename Engine::result_type base_result;
18 result_type numerator = static_cast<T>(eng() - (eng.min)());
19 result_type divisor = static_cast<T>((eng.max)() - (eng.min)());
20 BOOST_ASSERT(divisor > 0);