Tinko Bartels
63f14838a0
Fix a broken link to the Microsoft KB.
2019-04-23 21:29:53 +02:00
Andrey Semashev
33c165552c
Fixed incorrect loop termination in lcm_range.
...
lcm_range used to incorrectly terminate on value of 1. Instead, it should
terminate on 0 since any further elements of the range no longer affect
the result of the function.
Also, added tests for the gcd_range and lcm_range functions verifying
that they terminate their loops at the correct points.
2019-03-26 01:55:18 +03:00
Andrey Semashev
4bc1a5eb75
Extracted DISABLE_MP_TESTS macro definition to a common header.
2018-11-05 22:56:03 +03:00
Andrey Semashev
7c5def9d39
Disable Boost.Multiprecision tests for gcc 4.7 in C++11 mode.
...
The compiler fails in Boost.TypeTraits which is used in Boost.Multiprecision.
2018-10-29 12:25:55 +03:00
jzmaddock
10026d9b6f
Disable some tests on older compilers that we know won't pass.
2017-06-09 19:47:18 +01:00
John Maddock
0c956331a0
Fix gmp test failures
2017-05-09 19:52:20 +01:00
jzmaddock
7ccb820893
Test mpz_class when available.
...
And fix errors compiling with that type.
2017-05-07 13:15:15 +01:00
jzmaddock
9c75396c05
Fix more explicit instantiations in test cases.
2017-04-26 19:11:18 +01:00
jzmaddock
395735a193
Add tests for multiprecision types and fix test program to still compile.
2017-04-26 18:24:09 +01:00
jzmaddock
beb6871864
Switch over to using new Boost.Math version of gcd/lcm.
...
Please refer to the Boost.Math revision log for details of changes, but in summary:
* New version of gcd/lcm internals by Jeremy Murphy include mixed-binary algorithm and better selection logic.
* Support is now included for gcd's of polynomials.
* Full C++14 constexpr support.
2017-04-23 13:01:09 +01:00
Peter Dimov
8dae82faeb
Replace math with integer, untabify.
2015-01-13 20:53:02 +02:00
Peter Dimov
1a72919419
Add common_factor_test to test/Jamfile, switch to lightweight_test.
2015-01-13 20:33:50 +02:00
Marshall Clow
9f43b6a7d6
Removed missed usage of deprecated macros in Boost.Math
...
[SVN r81586]
2015-01-13 19:41:32 +02:00
John Maddock
fecb6b5509
Fix numeric_limits specialization.
...
[SVN r79419]
2015-01-13 19:41:32 +02:00
Gennadiy Rozental
eea434b0f1
eliminated test_case_template.hpp
...
[SVN r74735]
2015-01-13 19:41:31 +02:00
Daniel James
bdafb07012
Replace a couple of non-ascii symbols.
...
[SVN r46943]
2015-01-13 19:41:28 +02:00
John Maddock
fe60fee95b
Fix more inspect report issues, and regenerated the docs.
...
[SVN r46839]
2015-01-13 19:41:28 +02:00
John Maddock
e20431e713
Changed long long to boost::long_long_type and unsigned long long to boost::ulong_long_type. A couple of other typo corrections, to get the code compiling with g++ -pedantic.
...
[SVN r44877]
2015-01-13 19:41:27 +02:00
John Maddock
217fa37de2
Fix min/max usage violation.
...
[SVN r43145]
2015-01-13 19:41:27 +02:00
John Maddock
a9d91361fa
Undo previous fix, it causes regressions.
...
[SVN r37022]
2015-01-13 19:41:26 +02:00
John Maddock
f1076ff42c
STLport workaround.
...
[SVN r37001]
2015-01-13 19:41:26 +02:00
Joaquín M. López Muñoz
18a37cbab2
various fixes for old compilers
...
[SVN r36259]
2015-01-13 19:41:25 +02:00
Daryle Walker
80b59192ae
Made the GCD specializations for '(unsigned) long long' and '(unsigned) __int64' mutually exclusive, following the lead of <boost/cstdint.hpp>.
...
[SVN r35999]
2015-01-13 19:41:25 +02:00
Daryle Walker
1f5f827a5e
Changed GCD for built-in integer types to use the binary-GCD algorithm
...
[SVN r35850]
2015-01-13 19:41:25 +02:00
Daryle Walker
56b287a590
Added custom integer types, signed and unsigned, with and without std::numeric_limits<> specializations, to test
...
[SVN r35830]
2015-01-13 19:41:24 +02:00
Daryle Walker
c8faa83d47
Changed test to use Boost.Test's unit test system
...
[SVN r35815]
2015-01-13 19:41:24 +02:00
Stefan Slapeta
6e6179b932
Replaced BOOST_TEST
...
[SVN r27050]
2015-01-13 19:41:23 +02:00
Douglas Gregor
cd696b2f6a
License update
...
[SVN r24180]
2015-01-13 19:41:22 +02:00
John Maddock
bb16ad8ea0
Added tests for unsigned int types
...
[SVN r13685]
2015-01-13 19:41:20 +02:00
Dave Abrahams
5f810b2754
Daryle Walker's GCD library submission
...
[SVN r11814]
2015-01-13 19:41:18 +02:00