Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77423 - in sandbox/gtl: boost/polygon/detail libs/polygon/test
From: sydorchuk.andriy_at_[hidden]
Date: 2012-03-19 19:06:35


Author: asydorchuk
Date: 2012-03-19 19:06:34 EDT (Mon, 19 Mar 2012)
New Revision: 77423
URL: http://svn.boost.org/trac/boost/changeset/77423

Log:
Changing size of the maximum fixed big int used by the library from 4096 bits -> 2048 bits.
Text files modified:
   sandbox/gtl/boost/polygon/detail/voronoi_ctypes.hpp | 2 +-
   sandbox/gtl/libs/polygon/test/voronoi_robust_fpt_test.cpp | 4 ++--
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/gtl/boost/polygon/detail/voronoi_ctypes.hpp
==============================================================================
--- sandbox/gtl/boost/polygon/detail/voronoi_ctypes.hpp (original)
+++ sandbox/gtl/boost/polygon/detail/voronoi_ctypes.hpp 2012-03-19 19:06:34 EDT (Mon, 19 Mar 2012)
@@ -712,7 +712,7 @@
     typedef int32 int_type;
     typedef int64 int_x2_type;
     typedef uint64 uint_x2_type;
- typedef extended_int<128> big_int_type;
+ typedef extended_int<64> big_int_type;
     typedef fpt64 fpt_type;
     typedef extended_exponent_fpt<fpt_type> efpt_type;
     typedef ulp_comparison<fpt_type> ulp_cmp_type;

Modified: sandbox/gtl/libs/polygon/test/voronoi_robust_fpt_test.cpp
==============================================================================
--- sandbox/gtl/libs/polygon/test/voronoi_robust_fpt_test.cpp (original)
+++ sandbox/gtl/libs/polygon/test/voronoi_robust_fpt_test.cpp 2012-03-19 19:06:34 EDT (Mon, 19 Mar 2012)
@@ -335,8 +335,8 @@
 };
 
 BOOST_AUTO_TEST_CASE(mpz_sqrt_evaluator_test) {
- typedef extended_int<32> eint1024;
- sqrt_expr_tester<eint1024, efpt64> tester;
+ typedef extended_int<16> eint512;
+ sqrt_expr_tester<eint512, efpt64> tester;
     for (int i = 0; i < 2000; ++i) {
         BOOST_CHECK(tester.run());
     }


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