From 10ed707a68d2ab7ccc159316069407609084d719 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 21 Nov 2013 19:05:42 +0000 Subject: [PATCH] Initial merge of cpp_bin_float code from sandbox. [SVN r86781] --- doc/Jamfile.v2 | 3 +- doc/html/boost_multiprecision/indexes.html | 17 +- doc/html/boost_multiprecision/intro.html | 8 +- doc/html/boost_multiprecision/map.html | 2 +- doc/html/boost_multiprecision/map/ack.html | 2 +- doc/html/boost_multiprecision/map/faq.html | 2 +- doc/html/boost_multiprecision/map/hist.html | 17 +- doc/html/boost_multiprecision/map/todo.html | 2 +- doc/html/boost_multiprecision/perf.html | 4 +- .../perf/float_performance.html | 42 +- .../perf/int_real_world.html | 4 +- .../perf/integer_performance.html | 66 +- .../boost_multiprecision/perf/overhead.html | 4 +- .../perf/rational_performance.html | 42 +- .../boost_multiprecision/perf/realworld.html | 10 +- doc/html/boost_multiprecision/ref.html | 9 +- .../boost_multiprecision/ref/backendconc.html | 6 +- .../ref/cpp_bin_float_ref.html | 186 ++ .../boost_multiprecision/ref/cpp_dec_ref.html | 10 +- .../boost_multiprecision/ref/cpp_int_ref.html | 2 +- .../boost_multiprecision/ref/gmp_int_ref.html | 2 +- .../boost_multiprecision/ref/headers.html | 8 +- .../boost_multiprecision/ref/internals.html | 2 +- .../boost_multiprecision/ref/mpf_ref.html | 2 +- .../boost_multiprecision/ref/mpfr_ref.html | 8 +- doc/html/boost_multiprecision/ref/number.html | 14 +- .../boost_multiprecision/ref/tom_int_ref.html | 2 +- doc/html/boost_multiprecision/tut.html | 15 +- .../boost_multiprecision/tut/conversions.html | 48 +- doc/html/boost_multiprecision/tut/floats.html | 42 +- .../tut/floats/cpp_bin_float.html | 192 ++ .../tut/floats/cpp_dec_float.html | 14 +- .../tut/floats/float128.html | 8 +- .../tut/floats/fp_eg.html | 2 +- .../tut/floats/fp_eg/aos.html | 10 +- .../tut/floats/fp_eg/gi.html | 14 +- .../tut/floats/fp_eg/jel.html | 18 +- .../tut/floats/fp_eg/nd.html | 14 +- .../tut/floats/fp_eg/poly_eg.html | 6 +- .../tut/floats/gmp_float.html | 9 +- .../tut/floats/mpfr_float.html | 9 +- .../boost_multiprecision/tut/gen_int.html | 2 +- .../tut/input_output.html | 185 ++ .../boost_multiprecision/tut/interval.html | 2 +- .../tut/interval/mpfi.html | 17 +- doc/html/boost_multiprecision/tut/ints.html | 2 +- .../tut/ints/cpp_int.html | 8 +- .../boost_multiprecision/tut/ints/egs.html | 2 +- .../tut/ints/egs/bitops.html | 10 +- .../tut/ints/egs/factorials.html | 6 +- .../tut/ints/gmp_int.html | 8 +- .../tut/ints/tom_int.html | 8 +- doc/html/boost_multiprecision/tut/limits.html | 100 + .../tut/limits/constants.html | 705 ++++++ .../tut/limits/functions.html | 546 +++++ .../tut/limits/how_to_tell.html | 168 ++ .../tut/limits/limits32.html | 2049 +++++++++++++++++ doc/html/boost_multiprecision/tut/lits.html | 2 +- doc/html/boost_multiprecision/tut/misc.html | 2 +- .../tut/misc/debug_adaptor.html | 8 +- .../tut/misc/logged_adaptor.html | 10 +- .../tut/misc/visualizers.html | 14 +- doc/html/boost_multiprecision/tut/mixed.html | 14 +- .../boost_multiprecision/tut/primetest.html | 6 +- doc/html/boost_multiprecision/tut/random.html | 18 +- .../boost_multiprecision/tut/rational.html | 2 +- .../boost_multiprecision/tut/rational/br.html | 2 +- .../tut/rational/cpp_rational.html | 8 +- .../tut/rational/gmp_rational.html | 8 +- .../tut/rational/rational_adaptor.html | 2 +- .../tut/rational/tommath_rational.html | 8 +- .../boost_multiprecision/tut/rounding.html | 2 +- doc/html/boost_multiprecision/tut/serial.html | 63 + doc/html/index.html | 26 +- doc/multiprecision.qbk | 1395 +++++++++-- doc/numeric_limits_32_tables.qbk | 94 + doc/numeric_limits_qbk.cpp | 719 ++++++ example/cpp_bin_float_snips.cpp | 39 + example/numeric_limits_snips.cpp | 458 ++++ .../boost/multiprecision/cpp_bin_float.hpp | 1559 +++++++++++++ .../boost/multiprecision/cpp_bin_float/io.hpp | 690 ++++++ .../cpp_bin_float/transcendental.hpp | 132 ++ performance/performance_test.cpp | 20 +- performance/sf_performance.hpp | 11 +- performance/sf_performance_bessel2.cpp | 3 + performance/sf_performance_bessel6.cpp | 3 + performance/sf_performance_nct3.cpp | 3 + performance/sf_performance_nct6.cpp | 3 + performance/sf_performance_poly.cpp | 6 + test/Jamfile.v2 | 68 +- test/concepts/number_concept_check.cpp | 13 +- test/concepts/sf_concept_check_basic.cpp | 9 +- test/concepts/sf_concept_check_bessel.cpp | 10 +- test/concepts/sf_concept_check_elliptic.cpp | 10 +- test/concepts/sf_concept_check_gamma.cpp | 10 +- test/concepts/sf_concept_check_poly.cpp | 10 +- .../cpp_bin_float_include_test.cpp | 12 + test/math/instances/Jamfile.v2 | 3 +- test/math/setup.hpp | 22 +- test/sincos.ipp | 358 +++ test/test_acos.cpp | 15 +- test/test_arithmetic_cpp_bin_float_1.cpp | 28 + test/test_arithmetic_cpp_bin_float_2.cpp | 27 + test/test_arithmetic_cpp_bin_float_3.cpp | 27 + test/test_asin.cpp | 9 +- test/test_atan.cpp | 9 +- test/test_cos.cpp | 22 +- test/test_cosh.cpp | 15 +- test/test_cpp_bin_float.cpp | 219 ++ test/test_cpp_bin_float_io.cpp | 258 +++ test/test_exp.cpp | 13 +- test/test_fpclassify.cpp | 9 +- test/test_log.cpp | 16 +- test/test_numeric_limits.cpp | 24 +- test/test_pow.cpp | 9 +- test/test_round.cpp | 12 +- test/test_sin.cpp | 23 +- test/test_sinh.cpp | 9 +- test/test_sqrt.cpp | 14 +- test/test_tan.cpp | 9 +- test/test_tanh.cpp | 9 +- tools/sincos.cpp | 75 + 122 files changed, 10795 insertions(+), 606 deletions(-) create mode 100644 doc/html/boost_multiprecision/ref/cpp_bin_float_ref.html create mode 100644 doc/html/boost_multiprecision/tut/floats/cpp_bin_float.html create mode 100644 doc/html/boost_multiprecision/tut/input_output.html create mode 100644 doc/html/boost_multiprecision/tut/limits.html create mode 100644 doc/html/boost_multiprecision/tut/limits/constants.html create mode 100644 doc/html/boost_multiprecision/tut/limits/functions.html create mode 100644 doc/html/boost_multiprecision/tut/limits/how_to_tell.html create mode 100644 doc/html/boost_multiprecision/tut/limits/limits32.html create mode 100644 doc/html/boost_multiprecision/tut/serial.html create mode 100644 doc/numeric_limits_32_tables.qbk create mode 100644 doc/numeric_limits_qbk.cpp create mode 100644 example/cpp_bin_float_snips.cpp create mode 100644 example/numeric_limits_snips.cpp create mode 100644 include/boost/multiprecision/cpp_bin_float.hpp create mode 100644 include/boost/multiprecision/cpp_bin_float/io.hpp create mode 100644 include/boost/multiprecision/cpp_bin_float/transcendental.hpp create mode 100644 test/include_test/cpp_bin_float_include_test.cpp create mode 100644 test/sincos.ipp create mode 100644 test/test_arithmetic_cpp_bin_float_1.cpp create mode 100644 test/test_arithmetic_cpp_bin_float_2.cpp create mode 100644 test/test_arithmetic_cpp_bin_float_3.cpp create mode 100644 test/test_cpp_bin_float.cpp create mode 100644 test/test_cpp_bin_float_io.cpp create mode 100644 tools/sincos.cpp diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 34ed0bf5a..c9479e570 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -74,7 +74,8 @@ boostbook standalone pdf:index.on.type=1 ; -install pdf-install : standalone : . PDF multiprecision.pdf ; +install pdfinstall : standalone : . PDF multiprecision.pdf ; + diff --git a/doc/html/boost_multiprecision/indexes.html b/doc/html/boost_multiprecision/indexes.html index 4befa2cb5..6a5e97fa5 100644 --- a/doc/html/boost_multiprecision/indexes.html +++ b/doc/html/boost_multiprecision/indexes.html @@ -7,7 +7,6 @@ - @@ -20,22 +19,20 @@

-PrevUpHomeNext +PrevUpHome
- +

+ [named_index function_name Function Index] [named_index class_name Class Index] + [named_index typedef_name Typedef Index] [index] +

-

-PrevUpHomeNext +PrevUpHome
diff --git a/doc/html/boost_multiprecision/intro.html b/doc/html/boost_multiprecision/intro.html index 524b22032..049aa98d4 100644 --- a/doc/html/boost_multiprecision/intro.html +++ b/doc/html/boost_multiprecision/intro.html @@ -372,7 +372,7 @@
for polynomial execution:

-

Table 1.1. Evaluation of Order 6 Polynomial.

+

Table 1.1. Evaluation of Order 6 Polynomial.

@@ -486,7 +486,7 @@
(50 decimal digits):

-

Table 1.2. Evaluation of Boost.Math's Bessel function test data

+

Table 1.2. Evaluation of Boost.Math's Bessel function test data

@@ -584,7 +584,7 @@

-

Table 1.3. Evaluation of Boost.Math's Non-Central T distribution test data

+

Table 1.3. Evaluation of Boost.Math's Non-Central T distribution test data

@@ -696,7 +696,7 @@
-
-
-
-
+ 1.56 +
+
  • + Added list of values for numeric_limits. +
+
+ 1.55
    @@ -65,7 +72,7 @@
- + 1.54
    @@ -120,7 +127,7 @@
- + 1.53
    @@ -136,7 +143,7 @@
- + Post review changes
@@ -190,7 +197,7 @@
- + Pre-review history
@@ -213,7 +220,7 @@
-
-