Commit Graph

5028 Commits

Author SHA1 Message Date
jzmaddock
8a32bac2c8 Merge pull request #25 from jeremy-murphy/gcd_unit_tests
Gcd unit tests
2016-03-09 18:51:25 +00:00
jzmaddock
bfd43f4dd4 Merge pull request #27 from jeremy-murphy/polynomial_size_type
Use the template parameter N and container's size_type.
2016-03-09 13:38:17 +00:00
Jeremy W. Murphy
8855ec5338 More meaningful values for the 3rd and 4th arguments of report_execution. 2016-03-09 12:59:03 +11:00
Jeremy W. Murphy
b7886b3b3a Merge branch 'develop' into gcd_perf 2016-03-09 12:31:48 +11:00
Jeremy W. Murphy
521ee8a0af Use the template parameter N and container's size_type. 2016-03-08 19:24:45 +11:00
jzmaddock
65f7440c2f Minor fixes for polynomial division:
* Use Boost.Config macros not direct checks on C++ version.
* Use dedicated integer power function - fixes VC10 build failure, also prevents loss of digits when integer type is wider than double.
2016-03-02 19:37:46 +00:00
jzmaddock
2ed1361e73 Merge branch 'polynomial_initializer_list' of https://github.com/jeremy-murphy/math into develop 2016-03-02 18:47:11 +00:00
Jeremy W. Murphy
c491caf93b Test zero across all types too. 2016-03-02 14:24:41 +11:00
Jeremy W. Murphy
d9fa9fc477 Make an example of brace initializer_list construction. 2016-03-02 13:39:02 +11:00
Jeremy W. Murphy
93a0ff967d Use the strictly correct brace initializer_list construction. 2016-03-02 13:38:36 +11:00
Jeremy W. Murphy
94535a0c98 Add gcd unit tests to Jamfile. 2016-02-25 08:55:27 -08:00
Jeremy W. Murphy
48838637c4 Explicitly use gcd from Boost.Math, not multiprecision type's. 2016-02-25 08:55:11 -08:00
jzmaddock
56221e001a Merge branch 'develop' 2016-02-15 19:37:52 +00:00
Jeremy W. Murphy
b86b89c8e2 Unit tests for gcd. 2016-02-11 09:36:32 +11:00
Jeremy W. Murphy
fc8127fda5 Typedef the int type. 2016-02-10 21:43:31 +11:00
Jeremy W. Murphy
38a87b423b Use larger input size.
Print the result out of paranoia.
2016-02-10 14:04:25 +11:00
jzmaddock
a8d2470854 Merge pull request #22 from jeremy-murphy/table_helper_lexical_cast
Missing include for lexical_cast.
2016-02-09 12:57:23 +00:00
Jeremy W. Murphy
de83ad54f7 Basic performance test of gcd on unsigned data. 2016-02-09 21:38:57 +11:00
Jeremy W. Murphy
6faa6f5b3c Merge branch 'polynomial_initializer_list' into gcd_perf 2016-02-09 18:58:45 +11:00
jzmaddock
7cecd8ddf4 Fix up mpfr support 2016-02-05 13:59:45 +00:00
Jeremy W. Murphy
3315e8eab9 Missing include for lexical_cast.
Hidden because this file is usually included after something else that
includes lexical_cast.
2016-02-03 12:20:41 +11:00
Jeremy W. Murphy
7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. 2016-01-31 19:04:37 +11:00
jzmaddock
b74f7e5906 Merge pull request #21 from jeremy-murphy/polynomial_mp
Support Boost.Multiprecision types as polynomial coefficients.
2016-01-16 10:08:25 +00:00
Jeremy W. Murphy
0e4bfc9f8e Test cpp_int, cpp_rational, cpp_bin_float_single and cpp_dec_float_50. 2016-01-16 14:54:00 +11:00
Jeremy W. Murphy
0fae5d590a Explicitly specify the return type for Boost lambda on * and /.
Appears that return type deduction failed for multiprecision types.
2016-01-16 14:51:35 +11:00
jzmaddock
8e7660e909 Merge branch 'develop' of https://github.com/boostorg/math into develop 2016-01-10 11:51:38 +00:00
jzmaddock
1adea9929f Add missing inline declarations.
See https://svn.boost.org/trac/boost/ticket/11892.
2016-01-10 11:51:24 +00:00
jzmaddock
12496430f6 Merge pull request #20 from Flast/bugfix-freebsd
Qualify std:: for isnan in some situation.
2016-01-09 19:33:20 +00:00
Kohei Takahashi
fbd1393858 Qualify std:: for isnan in some situation.
Because isnan is implemented as a macro and libstdc++ undef it within
<cmath> (at least FreeBSD 10).
2016-01-06 19:39:55 +09:00
jzmaddock
74ff2db959 Change <quadmath.h> config to not use it at all if we don't have __has_include as GCC may be configured with --disable-libquadmath but still signal that it supports __float128 2016-01-01 16:49:48 +00:00
jzmaddock
587eb660aa Merge branch 'develop' of https://github.com/boostorg/math into develop 2015-12-14 18:03:22 +00:00
jzmaddock
b04e78b79e Fix msvc warnings. 2015-12-14 18:03:05 +00:00
pabristow
bd9112ddd6 new html files 2015-12-14 16:14:17 +00:00
pabristow
7a7d3321fe Moved polystuff to tools, added JWM as author and numerous minor edits 2015-12-14 16:13:05 +00:00
pabristow
b2bd954faa Polish polynomial example. 2015-12-13 17:33:17 +00:00
jzmaddock
c36506f852 Merge pull request #17 from jeremy-murphy/polynomial_division
Polynomial division
2015-12-13 12:06:00 +00:00
Jeremy W. Murphy
ccbab25823 Polynomial arithmetic example. 2015-12-13 18:18:20 +11:00
Jeremy W. Murphy
25ed0ffbca Negation depends only on negation, not on multiplication. 2015-12-13 12:15:09 +11:00
jzmaddock
e7ca10d04e Merge branch 'develop' 2015-12-11 18:00:52 +00:00
jzmaddock
ee5dcd403a Update docs. 2015-12-11 17:59:28 +00:00
Jeremy W. Murphy
99e6e2c3cb A better and more instructive unit test for gcd. 2015-12-11 11:58:33 +11:00
Jeremy W. Murphy
db07507a75 Minor doc change to parameter names. 2015-12-11 11:56:56 +11:00
jzmaddock
61520b2ca4 adjust exepected error rate for Intel C++ 2015-12-03 12:44:34 +00:00
jzmaddock
7e2952e4a1 Merge pull request #19 from akumta/ticket-11827
update for boost ticket #1827
2015-12-03 10:18:52 +00:00
akumta
352250c017 remove redundant using statement 2015-12-02 11:19:28 -08:00
akumta
a1c290b1cf remove redundant using statement 2015-12-02 11:10:28 -08:00
akumta
0a88915e2f remove redundant using statement 2015-12-02 11:09:49 -08:00
akumta
bf6c0c55dd remove redundant using statement 2015-12-02 11:08:37 -08:00
akumta
700dae7e89 remove redundant using statement 2015-12-02 11:06:51 -08:00
akumta
7ed88bcdcc update for ticket #11827 2015-12-01 11:05:45 -08:00