$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: arseny.kapoulkine_at_[hidden]
Date: 2007-08-07 15:56:43
Author: zeux
Date: 2007-08-07 15:56:40 EDT (Tue, 07 Aug 2007)
New Revision: 38498
URL: http://svn.boost.org/trac/boost/changeset/38498
Log:
Updated todo list, added assertion in modmul [because full testing does not seem to be achievable].
Text files modified: 
   sandbox/SOC/2007/bigint/boost/bigint/bigint_fft_multiplicator.hpp |     1 +                                       
   sandbox/SOC/2007/bigint/libs/bigint/todo.txt                      |     8 ++++----                                
   2 files changed, 5 insertions(+), 4 deletions(-)
Modified: sandbox/SOC/2007/bigint/boost/bigint/bigint_fft_multiplicator.hpp
==============================================================================
--- sandbox/SOC/2007/bigint/boost/bigint/bigint_fft_multiplicator.hpp	(original)
+++ sandbox/SOC/2007/bigint/boost/bigint/bigint_fft_multiplicator.hpp	2007-08-07 15:56:40 EDT (Tue, 07 Aug 2007)
@@ -34,6 +34,7 @@
         #else
                 int r = a * b - prime * static_cast<uint32_t>(inv_prime * static_cast<int>(a) * b);
                 r = (r < 0 ? r + prime : r);
+		BOOST_ASSERT(static_cast<uint32_t>(r) == static_cast<uint32_t>(static_cast<uint64_t>(a) * b % prime));
                 return r;
         #endif
 }
Modified: sandbox/SOC/2007/bigint/libs/bigint/todo.txt
==============================================================================
--- sandbox/SOC/2007/bigint/libs/bigint/todo.txt	(original)
+++ sandbox/SOC/2007/bigint/libs/bigint/todo.txt	2007-08-07 15:56:40 EDT (Tue, 07 Aug 2007)
@@ -183,11 +183,11 @@
 
 6. Interface for storage
 
-- refactor
-Status: needs implementing
++ do we need push_back?
+Status: implemented
 
-- do we need push_back?
-Status: needs investigation
++ refactor
+Status: implemented
 
 - perhaps move bool negative to storage?
 Status: needs investigation