mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-01-19 04:22:11 +00:00
Add support for modular build structure. (#632)
* Make the library modular usable. * Switch to library requirements instead of source. As source puts extra source in install targets. * Add missing import-search for cconfig/predef checks. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Change all <source> references to <library>. * Update copyright dates. * Move inter-lib dependencies to a project variable and into the build targets. * Adjust doc build to avoid boost-root references. * Update build deps. * Change Boost Test build refs to work with both old and modular test lib targets. * Adjust CI for changes to the inspect tool. Also simplify the build and test to avoid future config problems as it can mor easily adjust to future CI changes. * Use latest CI image to get a modern C++ compiler rthat doesn't ICE, we hope. * Current CircleCI images need sudo to install packages. * Undo search-lib change. --------- Co-authored-by: Matt Borland <matt@mattborland.com>
This commit is contained in:
committed by
GitHub
parent
96eb274ac6
commit
6df8e19f00
@@ -6,7 +6,7 @@ jobs:
|
|||||||
- BOOST_LIBRARY=multiprecision
|
- BOOST_LIBRARY=multiprecision
|
||||||
- CXX_STANDARD=gnu++11
|
- CXX_STANDARD=gnu++11
|
||||||
docker:
|
docker:
|
||||||
- image: gcc:7
|
- image: cimg/base:current
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@@ -24,8 +24,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: install pre dependencies
|
name: install pre dependencies
|
||||||
command: |
|
command: |
|
||||||
apt-get update -yqq
|
sudo apt-get update -yqq
|
||||||
apt-get install git xsltproc docbook-xsl docbook-xml -y
|
sudo apt-get install git xsltproc docbook-xsl docbook-xml -y
|
||||||
- run:
|
- run:
|
||||||
name: Initializing git repo for boost
|
name: Initializing git repo for boost
|
||||||
command: |
|
command: |
|
||||||
@@ -46,11 +46,11 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Building inspect
|
name: Building inspect
|
||||||
command: |
|
command: |
|
||||||
cd $BOOST/boost/tools/inspect/build && ../../../b2 -j2 address-model=64 architecture=x86 toolset=gcc cxxflags="-std=gnu++14" release dist-bin
|
cd $BOOST/boost/tools/inspect && ../../b2 toolset=gcc variant=release dist-bin
|
||||||
- run:
|
- run:
|
||||||
name: Building docs
|
name: Building docs
|
||||||
command: |
|
command: |
|
||||||
cd $BOOST_REMOVE/doc && rm -rf html/boost_multiprecision && ../../../b2 -j2 address-model=64 architecture=x86 toolset=gcc cxxflags="-std=gnu++14" release
|
cd $BOOST_REMOVE/doc && rm -rf html/boost_multiprecision && ../../../b2
|
||||||
- run:
|
- run:
|
||||||
name: Running Inspect
|
name: Running Inspect
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
33
build.jam
Normal file
33
build.jam
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Copyright René Ferdinand Rivera Morell 2023-2024
|
||||||
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
# http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
require-b2 5.2 ;
|
||||||
|
|
||||||
|
constant boost_dependencies :
|
||||||
|
/boost/assert//boost_assert
|
||||||
|
/boost/config//boost_config
|
||||||
|
/boost/core//boost_core
|
||||||
|
/boost/integer//boost_integer
|
||||||
|
/boost/lexical_cast//boost_lexical_cast
|
||||||
|
/boost/math//boost_math
|
||||||
|
/boost/predef//boost_predef
|
||||||
|
/boost/random//boost_random
|
||||||
|
/boost/throw_exception//boost_throw_exception ;
|
||||||
|
|
||||||
|
project /boost/multiprecision
|
||||||
|
: common-requirements
|
||||||
|
<include>include
|
||||||
|
;
|
||||||
|
|
||||||
|
explicit
|
||||||
|
[ alias boost_multiprecision : : : : <library>$(boost_dependencies) ]
|
||||||
|
[ alias all : boost_multiprecision test example performance ]
|
||||||
|
;
|
||||||
|
|
||||||
|
call-if : boost-library multiprecision
|
||||||
|
;
|
||||||
|
|
||||||
|
use-project /boost/multiprecision/config : config ;
|
||||||
|
|
||||||
@@ -1,32 +1,33 @@
|
|||||||
# copyright John Maddock 2008
|
# copyright John Maddock 2008
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt.
|
# http://www.boost.org/LICENSE_1_0.txt.
|
||||||
|
|
||||||
|
import-search /boost/config/checks ;
|
||||||
|
|
||||||
import modules ;
|
import modules ;
|
||||||
import path ;
|
import path ;
|
||||||
import ../../config/checks/config : requires ;
|
import config : requires ;
|
||||||
|
|
||||||
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
||||||
local mpfr_path = [ modules.peek : MPFR_PATH ] ;
|
local mpfr_path = [ modules.peek : MPFR_PATH ] ;
|
||||||
local mpfi_path = [ modules.peek : MPFI_PATH ] ;
|
local mpfi_path = [ modules.peek : MPFI_PATH ] ;
|
||||||
local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
||||||
|
|
||||||
project : requirements
|
project : requirements
|
||||||
<include>$(gmp_path)
|
<include>$(gmp_path)
|
||||||
<include>$(gmp_path)/mpfr
|
<include>$(gmp_path)/mpfr
|
||||||
<include>$(gmp_path)/gmpfrxx
|
<include>$(gmp_path)/gmpfrxx
|
||||||
<include>$(mpfr_path)
|
<include>$(mpfr_path)
|
||||||
<include>$(mpfi_path)
|
<include>$(mpfi_path)
|
||||||
<include>$(mpfi_path)/src
|
<include>$(mpfi_path)/src
|
||||||
<include>$(tommath_path)
|
<include>$(tommath_path)
|
||||||
<include>../../..
|
<search>$(gmp_path)
|
||||||
<search>$(gmp_path)
|
<search>$(mpfr_path)
|
||||||
<search>$(mpfr_path)
|
|
||||||
<search>$(mpfr_path)/build.vc10/lib/Win32/Debug
|
<search>$(mpfr_path)/build.vc10/lib/Win32/Debug
|
||||||
<search>$(tommath_path)
|
<search>$(tommath_path)
|
||||||
<search>$(mpfi_path)
|
<search>$(mpfi_path)
|
||||||
<search>$(mpfi_path)/src
|
<search>$(mpfi_path)/src
|
||||||
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
||||||
<toolset>msvc:<runtime-link>static
|
<toolset>msvc:<runtime-link>static
|
||||||
<toolset>msvc:<link>static
|
<toolset>msvc:<link>static
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ boostbook standalone
|
|||||||
:
|
:
|
||||||
# Path for links to Boost:
|
# Path for links to Boost:
|
||||||
<xsl:param>boost.root=../../../..
|
<xsl:param>boost.root=../../../..
|
||||||
|
|
||||||
# Some general style settings:
|
# Some general style settings:
|
||||||
<xsl:param>table.footnote.number.format=1
|
<xsl:param>table.footnote.number.format=1
|
||||||
<xsl:param>footnote.number.format=1
|
<xsl:param>footnote.number.format=1
|
||||||
@@ -42,8 +42,8 @@ boostbook standalone
|
|||||||
# extending 'standard' BOOST_ROOT/doc/src/boostbook.css with
|
# extending 'standard' BOOST_ROOT/doc/src/boostbook.css with
|
||||||
# @import url('../../../../doc/src/boostbook.css');
|
# @import url('../../../../doc/src/boostbook.css');
|
||||||
# in location multiprecision/doc/html/multiprecision.css
|
# in location multiprecision/doc/html/multiprecision.css
|
||||||
|
|
||||||
|
|
||||||
# PDF Options:
|
# PDF Options:
|
||||||
# TOC Generation: this is needed for FOP-0.9 and later:
|
# TOC Generation: this is needed for FOP-0.9 and later:
|
||||||
<xsl:param>fop1.extensions=0
|
<xsl:param>fop1.extensions=0
|
||||||
@@ -65,7 +65,7 @@ boostbook standalone
|
|||||||
# default PNG graphics are awful in PDF form,
|
# default PNG graphics are awful in PDF form,
|
||||||
# better use SVGs instead:
|
# better use SVGs instead:
|
||||||
<format>pdf:<xsl:param>admon.graphics.extension=".svg"
|
<format>pdf:<xsl:param>admon.graphics.extension=".svg"
|
||||||
<format>pdf:<xsl:param>use.role.for.mediaobject=1
|
<format>pdf:<xsl:param>use.role.for.mediaobject=1
|
||||||
<format>pdf:<xsl:param>preferred.mediaobject.role=print
|
<format>pdf:<xsl:param>preferred.mediaobject.role=print
|
||||||
<format>pdf:<xsl:param>img.src.path=$(images_location)/
|
<format>pdf:<xsl:param>img.src.path=$(images_location)/
|
||||||
<format>pdf:<xsl:param>draft.mode="no"
|
<format>pdf:<xsl:param>draft.mode="no"
|
||||||
@@ -76,19 +76,19 @@ boostbook standalone
|
|||||||
# .SVG files are roughly twice the .png size and so a bit gross.
|
# .SVG files are roughly twice the .png size and so a bit gross.
|
||||||
# This also changes the admonitions icons.
|
# This also changes the admonitions icons.
|
||||||
# <format>html:<xsl:param>admon.graphics.extension=".svg"
|
# <format>html:<xsl:param>admon.graphics.extension=".svg"
|
||||||
<format>html:<xsl:param>use.role.for.mediaobject=1
|
<format>html:<xsl:param>use.role.for.mediaobject=1
|
||||||
<format>html:<xsl:param>preferred.mediaobject.role=print
|
<format>html:<xsl:param>preferred.mediaobject.role=print
|
||||||
# <format>html:<xsl:param>img.src.path=$(images_location)/ isn't right for html.
|
# <format>html:<xsl:param>img.src.path=$(images_location)/ isn't right for html.
|
||||||
<format>html:<xsl:param>draft.mode="no"
|
<format>html:<xsl:param>draft.mode="no"
|
||||||
<format>html:<xsl:param>boost.url.prefix=http\://www.boost.org/doc/libs/release/libs/multiprecision/doc/html
|
<format>html:<xsl:param>boost.url.prefix=http\://www.boost.org/doc/libs/release/libs/multiprecision/doc/html
|
||||||
|
|
||||||
# Index generation:
|
# Index generation:
|
||||||
<auto-index>on
|
<auto-index>on
|
||||||
<auto-index-script>$(here)/index.idx
|
<auto-index-script>$(here)/index.idx
|
||||||
<auto-index-prefix>$(here)/../../..
|
<auto-index-prefix>$(here)/../include
|
||||||
<auto-index-verbose>on
|
<auto-index-verbose>on
|
||||||
<format>html:<auto-index-internal>on
|
<format>html:<auto-index-internal>on
|
||||||
<quickbook-define>enable_index
|
<quickbook-define>enable_index
|
||||||
<format>pdf:<xsl:param>index.on.type=1
|
<format>pdf:<xsl:param>index.on.type=1
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
import testing ;
|
import testing ;
|
||||||
import modules ;
|
import modules ;
|
||||||
import path ;
|
import path ;
|
||||||
import ../../config/checks/config : requires ;
|
import-search /boost/config/checks ;
|
||||||
|
import config : requires ;
|
||||||
|
|
||||||
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
||||||
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
||||||
@@ -21,6 +22,8 @@ local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
|||||||
|
|
||||||
project
|
project
|
||||||
: requirements
|
: requirements
|
||||||
|
<library>/boost/multiprecision//boost_multiprecision
|
||||||
|
|
||||||
<include>$(gmp_path)
|
<include>$(gmp_path)
|
||||||
<include>$(gmp_path)/mpfr
|
<include>$(gmp_path)/mpfr
|
||||||
<include>$(gmp_path)/gmpfrxx
|
<include>$(gmp_path)/gmpfrxx
|
||||||
@@ -28,9 +31,7 @@ project
|
|||||||
<include>$(mpfi_path)
|
<include>$(mpfi_path)
|
||||||
<include>$(mpfi_path)/src
|
<include>$(mpfi_path)/src
|
||||||
<include>$(tommath_path)
|
<include>$(tommath_path)
|
||||||
<include>../include
|
|
||||||
<include>../../..
|
|
||||||
|
|
||||||
<toolset>gcc:<cxxflags>-Wno-missing-braces
|
<toolset>gcc:<cxxflags>-Wno-missing-braces
|
||||||
<toolset>darwin:<cxxflags>-Wno-missing-braces
|
<toolset>darwin:<cxxflags>-Wno-missing-braces
|
||||||
<toolset>acc:<cxxflags>+W2068,2461,2236,4070
|
<toolset>acc:<cxxflags>+W2068,2461,2236,4070
|
||||||
@@ -51,7 +52,7 @@ project
|
|||||||
<toolset>msvc:<cxxflags>/wd4701
|
<toolset>msvc:<cxxflags>/wd4701
|
||||||
<toolset>msvc:<cxxflags>/wd4305
|
<toolset>msvc:<cxxflags>/wd4305
|
||||||
<toolset>clang:<link>static
|
<toolset>clang:<link>static
|
||||||
[ requires
|
[ requires
|
||||||
cxx11_rvalue_references cxx11_template_aliases cxx11_hdr_array cxx11_allocator cxx11_constexpr cxx11_explicit_conversion_operators cxx11_ref_qualifiers
|
cxx11_rvalue_references cxx11_template_aliases cxx11_hdr_array cxx11_allocator cxx11_constexpr cxx11_explicit_conversion_operators cxx11_ref_qualifiers
|
||||||
cxx11_hdr_functional cxx11_variadic_templates cxx11_user_defined_literals cxx11_decltype cxx11_static_assert cxx11_defaulted_functions
|
cxx11_hdr_functional cxx11_variadic_templates cxx11_user_defined_literals cxx11_decltype cxx11_static_assert cxx11_defaulted_functions
|
||||||
cxx11_noexcept cxx11_ref_qualifiers cxx11_user_defined_literals cxx11_hdr_type_traits
|
cxx11_noexcept cxx11_ref_qualifiers cxx11_user_defined_literals cxx11_hdr_type_traits
|
||||||
@@ -95,7 +96,7 @@ test-suite examples :
|
|||||||
[ run integer_examples.cpp no_eh_eg_support ]
|
[ run integer_examples.cpp no_eh_eg_support ]
|
||||||
[ run logged_adaptor.cpp no_eh_eg_support mpfi mpfr gmp : : : [ check-target-builds ../config//has_mpfi : : <build>no ] ]
|
[ run logged_adaptor.cpp no_eh_eg_support mpfi mpfr gmp : : : [ check-target-builds ../config//has_mpfi : : <build>no ] ]
|
||||||
[ run mixed_integer_arithmetic.cpp no_eh_eg_support ]
|
[ run mixed_integer_arithmetic.cpp no_eh_eg_support ]
|
||||||
[ run numeric_limits_snips.cpp no_eh_eg_support /boost//test_exec_monitor : : : [ requires cxx11_numeric_limits ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run numeric_limits_snips.cpp no_eh_eg_support /boost/test//boost_test_exec_monitor : : : [ requires cxx11_numeric_limits ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run random_snips.cpp gmp no_eh_eg_support : : : [ requires cxx11_explicit_conversion_operators ] [ check-target-builds ../config//has_gmp : : <build>no ] ]
|
[ run random_snips.cpp gmp no_eh_eg_support : : : [ requires cxx11_explicit_conversion_operators ] [ check-target-builds ../config//has_gmp : : <build>no ] ]
|
||||||
[ run safe_prime.cpp no_eh_eg_support ]
|
[ run safe_prime.cpp no_eh_eg_support ]
|
||||||
|
|
||||||
@@ -104,7 +105,7 @@ test-suite examples :
|
|||||||
[ run mpfr_snips.cpp mpfr gmp no_eh_eg_support : : : [ check-target-builds ../config//has_mpfr : : <build>no ] ]
|
[ run mpfr_snips.cpp mpfr gmp no_eh_eg_support : : : [ check-target-builds ../config//has_mpfr : : <build>no ] ]
|
||||||
[ run tommath_snips.cpp $(TOMMATH) no_eh_eg_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] ]
|
[ run tommath_snips.cpp $(TOMMATH) no_eh_eg_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] ]
|
||||||
[ compile constexpr_float_arithmetic_examples.cpp : [ requires cxx14_constexpr cxx17_if_constexpr ] ]
|
[ compile constexpr_float_arithmetic_examples.cpp : [ requires cxx14_constexpr cxx17_if_constexpr ] ]
|
||||||
|
|
||||||
[ run big_seventh.cpp no_eh_eg_support ]
|
[ run big_seventh.cpp no_eh_eg_support ]
|
||||||
|
|
||||||
[ run exercise_threading_log_agm.cpp : : : <define>BOOST_MULTIPRECISION_EXERCISE_THREADING_BACKEND_TYPE=101 release [ requires cxx11_hdr_atomic cxx11_hdr_thread ] : exercise_threading_log_agm_cpp_dec_float ]
|
[ run exercise_threading_log_agm.cpp : : : <define>BOOST_MULTIPRECISION_EXERCISE_THREADING_BACKEND_TYPE=101 release [ requires cxx11_hdr_atomic cxx11_hdr_thread ] : exercise_threading_log_agm_cpp_dec_float ]
|
||||||
|
|||||||
@@ -1,31 +1,32 @@
|
|||||||
# copyright John Maddock 2012
|
# copyright John Maddock 2012
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt.
|
# http://www.boost.org/LICENSE_1_0.txt.
|
||||||
|
|
||||||
import modules ;
|
import modules ;
|
||||||
import path ;
|
import path ;
|
||||||
import ../../config/checks/config : requires ;
|
import-search /boost/config/checks ;
|
||||||
|
import config : requires ;
|
||||||
|
|
||||||
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
||||||
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
||||||
local mpfr_path = [ modules.peek : MPFR_PATH ] ;
|
local mpfr_path = [ modules.peek : MPFR_PATH ] ;
|
||||||
local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
||||||
|
|
||||||
project : requirements
|
project : requirements
|
||||||
<target-os>freebsd:<linkflags>"-lrt"
|
<library>/boost/multiprecision//boost_multiprecision
|
||||||
<target-os>linux:<linkflags>"-lrt"
|
<target-os>freebsd:<linkflags>"-lrt"
|
||||||
<toolset>pgi:<linkflags>"-lrt"
|
<target-os>linux:<linkflags>"-lrt"
|
||||||
<include>$(gmp_path)
|
<toolset>pgi:<linkflags>"-lrt"
|
||||||
<include>$(gmp_path)/mpfr
|
<include>$(gmp_path)
|
||||||
<include>$(gmp_path)/gmpfrxx
|
<include>$(gmp_path)/mpfr
|
||||||
|
<include>$(gmp_path)/gmpfrxx
|
||||||
<include>$(mpfr_path)
|
<include>$(mpfr_path)
|
||||||
<include>$(tommath_path)
|
<include>$(tommath_path)
|
||||||
<include>../../..
|
<search>$(gmp_path)
|
||||||
<search>$(gmp_path)
|
<search>$(mpfr_path)
|
||||||
<search>$(mpfr_path)
|
|
||||||
<search>$(mpfr_path)/build.vc10/lib/Win32/Debug
|
<search>$(mpfr_path)/build.vc10/lib/Win32/Debug
|
||||||
<search>$(tommath_path)
|
<search>$(tommath_path)
|
||||||
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
||||||
<toolset>msvc:<runtime-link>static
|
<toolset>msvc:<runtime-link>static
|
||||||
<toolset>msvc:<link>static
|
<toolset>msvc:<link>static
|
||||||
@@ -34,6 +35,9 @@ project : requirements
|
|||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
<define>NDEBUG=1
|
<define>NDEBUG=1
|
||||||
|
<library>/boost/chrono//boost_chrono
|
||||||
|
<library>/boost/math//testing
|
||||||
|
: default-build release
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
@@ -54,7 +58,7 @@ else
|
|||||||
|
|
||||||
test-suite performance :
|
test-suite performance :
|
||||||
|
|
||||||
[ exe performance_test : performance_test.cpp
|
[ exe performance_test : performance_test.cpp
|
||||||
performance_test_files/test01.cpp performance_test_files/test18.cpp performance_test_files/test35.cpp
|
performance_test_files/test01.cpp performance_test_files/test18.cpp performance_test_files/test35.cpp
|
||||||
performance_test_files/test02.cpp performance_test_files/test19.cpp performance_test_files/test36.cpp
|
performance_test_files/test02.cpp performance_test_files/test19.cpp performance_test_files/test36.cpp
|
||||||
performance_test_files/test03.cpp performance_test_files/test20.cpp performance_test_files/test37.cpp
|
performance_test_files/test03.cpp performance_test_files/test20.cpp performance_test_files/test37.cpp
|
||||||
@@ -71,9 +75,9 @@ test-suite performance :
|
|||||||
performance_test_files/test14.cpp performance_test_files/test31.cpp performance_test_files/test48.cpp
|
performance_test_files/test14.cpp performance_test_files/test31.cpp performance_test_files/test48.cpp
|
||||||
performance_test_files/test15.cpp performance_test_files/test32.cpp performance_test_files/test49.cpp
|
performance_test_files/test15.cpp performance_test_files/test32.cpp performance_test_files/test49.cpp
|
||||||
performance_test_files/test16.cpp performance_test_files/test33.cpp performance_test_files/test50.cpp
|
performance_test_files/test16.cpp performance_test_files/test33.cpp performance_test_files/test50.cpp
|
||||||
performance_test_files/test17.cpp performance_test_files/test34.cpp performance_test_files/test51.cpp
|
performance_test_files/test17.cpp performance_test_files/test34.cpp performance_test_files/test51.cpp
|
||||||
/boost/system//boost_system
|
/boost/system//boost_system
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <define>TEST_MPQ <source>gmp : ]
|
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <define>TEST_MPQ <source>gmp : ]
|
||||||
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
[ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
||||||
@@ -84,15 +88,15 @@ test-suite performance :
|
|||||||
[ requires cxx11_auto_declarations cxx11_allocator ]
|
[ requires cxx11_auto_declarations cxx11_allocator ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe miller_rabin_performance : miller_rabin_performance.cpp
|
[ exe miller_rabin_performance : miller_rabin_performance.cpp
|
||||||
miller_rabin_performance_files/test01.cpp miller_rabin_performance_files/test07.cpp
|
miller_rabin_performance_files/test01.cpp miller_rabin_performance_files/test07.cpp
|
||||||
miller_rabin_performance_files/test02.cpp miller_rabin_performance_files/test08.cpp
|
miller_rabin_performance_files/test02.cpp miller_rabin_performance_files/test08.cpp
|
||||||
miller_rabin_performance_files/test03.cpp miller_rabin_performance_files/test09.cpp
|
miller_rabin_performance_files/test03.cpp miller_rabin_performance_files/test09.cpp
|
||||||
miller_rabin_performance_files/test04.cpp miller_rabin_performance_files/test10.cpp
|
miller_rabin_performance_files/test04.cpp miller_rabin_performance_files/test10.cpp
|
||||||
miller_rabin_performance_files/test05.cpp miller_rabin_performance_files/test11.cpp
|
miller_rabin_performance_files/test05.cpp miller_rabin_performance_files/test11.cpp
|
||||||
miller_rabin_performance_files/test06.cpp miller_rabin_performance_files/test12.cpp
|
miller_rabin_performance_files/test06.cpp miller_rabin_performance_files/test12.cpp
|
||||||
/boost/system//boost_system /boost/chrono//boost_chrono
|
/boost/system//boost_system /boost/chrono//boost_chrono
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <source>gmp : ]
|
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <source>gmp : ]
|
||||||
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
[ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
||||||
@@ -100,7 +104,7 @@ test-suite performance :
|
|||||||
<define>TEST_CPP_INT
|
<define>TEST_CPP_INT
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe sf_performance : sf_performance.cpp sf_performance_basic.cpp sf_performance_bessel.cpp
|
[ exe sf_performance : sf_performance.cpp sf_performance_basic.cpp sf_performance_bessel.cpp
|
||||||
sf_performance_nct.cpp sf_performance_poly.cpp
|
sf_performance_nct.cpp sf_performance_poly.cpp
|
||||||
sf_performance_files/sf_performance_basic_1.cpp sf_performance_files/sf_performance_nct_06.cpp
|
sf_performance_files/sf_performance_basic_1.cpp sf_performance_files/sf_performance_nct_06.cpp
|
||||||
sf_performance_files/sf_performance_basic_2.cpp sf_performance_files/sf_performance_nct_07.cpp
|
sf_performance_files/sf_performance_basic_2.cpp sf_performance_files/sf_performance_nct_07.cpp
|
||||||
@@ -136,7 +140,7 @@ test-suite performance :
|
|||||||
sf_performance_files/sf_performance_nct_04.cpp sf_performance_files/sf_performance_poly_17.cpp
|
sf_performance_files/sf_performance_nct_04.cpp sf_performance_files/sf_performance_poly_17.cpp
|
||||||
sf_performance_files/sf_performance_nct_05.cpp sf_performance_files/sf_performance_poly_18.cpp
|
sf_performance_files/sf_performance_nct_05.cpp sf_performance_files/sf_performance_poly_18.cpp
|
||||||
/boost/system//boost_system /boost/chrono//boost_chrono /boost/thread//boost_thread
|
/boost/system//boost_system /boost/chrono//boost_chrono /boost/thread//boost_thread
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <source>gmp : ]
|
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <define>TEST_MPZ <source>gmp : ]
|
||||||
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath : ]
|
||||||
@@ -146,110 +150,110 @@ test-suite performance :
|
|||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
[ requires cxx11_auto_declarations cxx11_allocator ]
|
[ requires cxx11_auto_declarations cxx11_allocator ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe delaunay_test : delaunay_test.cpp /boost/system//boost_system /boost/chrono//boost_chrono ]
|
[ exe delaunay_test : delaunay_test.cpp /boost/system//boost_system /boost/chrono//boost_chrono ]
|
||||||
|
|
||||||
#[ exe voronoi_performance : voronoi_performance.cpp /boost/system//boost_system /boost/chrono//boost_chrono
|
#[ exe voronoi_performance : voronoi_performance.cpp /boost/system//boost_system /boost/chrono//boost_chrono
|
||||||
# : release
|
# :
|
||||||
# [ check-target-builds ../config//has_gmp : <define>TEST_GMP <source>gmp : ]
|
# [ check-target-builds ../config//has_gmp : <define>TEST_GMP <source>gmp : ]
|
||||||
# [ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
# [ check-target-builds ../config//has_tommath : <define>TEST_TOMMATH <source>$(TOMMATH) : ]
|
||||||
# ]
|
# ]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_mpfr : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_mpfr : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
<define>TEST_MPFR_50
|
<define>TEST_MPFR_50
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_mpf : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_mpf : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_gmp : : <build>no ]
|
[ check-target-builds ../config//has_gmp : : <build>no ]
|
||||||
<define>TEST_MPF_50
|
<define>TEST_MPF_50
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_cpp_float : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_cpp_float : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_double : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_double : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_native_float128 : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_native_float128 : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
<define>NATIVE_FLOAT128
|
<define>NATIVE_FLOAT128
|
||||||
[ check-target-builds ../config//has_float128 : : <build>no ]
|
[ check-target-builds ../config//has_float128 : : <build>no ]
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_float128 : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_float128 : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
<define>TEST_FLOAT128
|
<define>TEST_FLOAT128
|
||||||
[ check-target-builds ../config//has_float128 : : <build>no ]
|
[ check-target-builds ../config//has_float128 : : <build>no ]
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_cpp_quad_float : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_cpp_quad_float : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
<define>TEST_CPP_BIN_FLOAT_QUAD
|
<define>TEST_CPP_BIN_FLOAT_QUAD
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ obj obj_linpack_benchmark_cpp_oct_float : linpack-benchmark.cpp
|
[ obj obj_linpack_benchmark_cpp_oct_float : linpack-benchmark.cpp
|
||||||
: release
|
:
|
||||||
<define>TEST_CPP_BIN_FLOAT_OCT
|
<define>TEST_CPP_BIN_FLOAT_OCT
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_mpfr : obj_linpack_benchmark_mpfr mpfr f2c gmp
|
[ exe linpack_benchmark_mpfr : obj_linpack_benchmark_mpfr mpfr f2c gmp
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
<define>TEST_MPFR_50
|
<define>TEST_MPFR_50
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_mpf : obj_linpack_benchmark_mpf gmp f2c
|
[ exe linpack_benchmark_mpf : obj_linpack_benchmark_mpf gmp f2c
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_gmp : : <build>no ]
|
[ check-target-builds ../config//has_gmp : : <build>no ]
|
||||||
<define>TEST_MPF_50
|
<define>TEST_MPF_50
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_cpp_float : obj_linpack_benchmark_cpp_float f2c
|
[ exe linpack_benchmark_cpp_float : obj_linpack_benchmark_cpp_float f2c
|
||||||
: release
|
:
|
||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_double : obj_linpack_benchmark_double f2c
|
[ exe linpack_benchmark_double : obj_linpack_benchmark_double f2c
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_native_float128 : obj_linpack_benchmark_native_float128 f2c quadmath
|
[ exe linpack_benchmark_native_float128 : obj_linpack_benchmark_native_float128 f2c quadmath
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_float128 : : <build>no ]
|
[ check-target-builds ../config//has_float128 : : <build>no ]
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_float128 : obj_linpack_benchmark_float128 f2c quadmath
|
[ exe linpack_benchmark_float128 : obj_linpack_benchmark_float128 f2c quadmath
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_float128 : : <build>no ]
|
[ check-target-builds ../config//has_float128 : : <build>no ]
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_cpp_quad_float : obj_linpack_benchmark_cpp_quad_float f2c
|
[ exe linpack_benchmark_cpp_quad_float : obj_linpack_benchmark_cpp_quad_float f2c
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ exe linpack_benchmark_cpp_oct_float : obj_linpack_benchmark_cpp_oct_float f2c
|
[ exe linpack_benchmark_cpp_oct_float : obj_linpack_benchmark_cpp_oct_float f2c
|
||||||
: release
|
:
|
||||||
[ check-target-builds ../config//has_f2c : : <build>no ]
|
[ check-target-builds ../config//has_f2c : : <build>no ]
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -265,6 +269,6 @@ test-suite performance_install :
|
|||||||
[ install sf_performance_install : sf_performance : <location>. ]
|
[ install sf_performance_install : sf_performance : <location>. ]
|
||||||
[ install . : linpack_benchmark_double linpack_benchmark_cpp_float linpack_benchmark_mpf linpack_benchmark_mpfr linpack_benchmark_native_float128 linpack_benchmark_float128 linpack_benchmark_cpp_quad_float linpack_benchmark_cpp_oct_float ]
|
[ install . : linpack_benchmark_double linpack_benchmark_cpp_float linpack_benchmark_mpf linpack_benchmark_mpfr linpack_benchmark_native_float128 linpack_benchmark_float128 linpack_benchmark_cpp_quad_float linpack_benchmark_cpp_oct_float ]
|
||||||
[ install delaunay_install : delaunay_test : <location>. ]
|
[ install delaunay_install : delaunay_test : <location>. ]
|
||||||
[ install voronoi_install : voronoi_performance : <location>. ]
|
# [ install voronoi_install : voronoi_performance : <location>. ]
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
#include <boost/math/special_functions/bessel.hpp>
|
#include <boost/math/special_functions/bessel.hpp>
|
||||||
#include <boost/math/tools/rational.hpp>
|
#include <boost/math/tools/rational.hpp>
|
||||||
#include <boost/math/distributions/non_central_t.hpp>
|
#include <boost/math/distributions/non_central_t.hpp>
|
||||||
#include <libs/math/test/table_type.hpp>
|
#include <table_type.hpp>
|
||||||
#include <boost/chrono.hpp>
|
#include <boost/chrono.hpp>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
@@ -85,8 +85,8 @@ Real test_bessel()
|
|||||||
{
|
{
|
||||||
#define T double
|
#define T double
|
||||||
#define SC_(x) x
|
#define SC_(x) x
|
||||||
#include "libs/math/test/bessel_i_int_data.ipp"
|
#include "bessel_i_int_data.ipp"
|
||||||
#include "libs/math/test/bessel_i_data.ipp"
|
#include "bessel_i_data.ipp"
|
||||||
|
|
||||||
Real r;
|
Real r;
|
||||||
|
|
||||||
@@ -99,25 +99,25 @@ Real test_bessel()
|
|||||||
r += boost::math::cyl_bessel_i(Real(bessel_i_data[i][0]), Real(bessel_i_data[i][1]));
|
r += boost::math::cyl_bessel_i(Real(bessel_i_data[i][0]), Real(bessel_i_data[i][1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "libs/math/test/bessel_j_int_data.ipp"
|
#include "bessel_j_int_data.ipp"
|
||||||
for (unsigned i = 0; i < bessel_j_int_data.size(); ++i)
|
for (unsigned i = 0; i < bessel_j_int_data.size(); ++i)
|
||||||
{
|
{
|
||||||
r += boost::math::cyl_bessel_j(Real(bessel_j_int_data[i][0]), Real(bessel_j_int_data[i][1]));
|
r += boost::math::cyl_bessel_j(Real(bessel_j_int_data[i][0]), Real(bessel_j_int_data[i][1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "libs/math/test/bessel_j_data.ipp"
|
#include "bessel_j_data.ipp"
|
||||||
for (unsigned i = 0; i < bessel_j_data.size(); ++i)
|
for (unsigned i = 0; i < bessel_j_data.size(); ++i)
|
||||||
{
|
{
|
||||||
r += boost::math::cyl_bessel_j(Real(bessel_j_data[i][0]), Real(bessel_j_data[i][1]));
|
r += boost::math::cyl_bessel_j(Real(bessel_j_data[i][0]), Real(bessel_j_data[i][1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "libs/math/test/bessel_j_large_data.ipp"
|
#include "bessel_j_large_data.ipp"
|
||||||
for (unsigned i = 0; i < bessel_j_large_data.size(); ++i)
|
for (unsigned i = 0; i < bessel_j_large_data.size(); ++i)
|
||||||
{
|
{
|
||||||
r += boost::math::cyl_bessel_j(Real(bessel_j_large_data[i][0]), Real(bessel_j_large_data[i][1]));
|
r += boost::math::cyl_bessel_j(Real(bessel_j_large_data[i][0]), Real(bessel_j_large_data[i][1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "libs/math/test/sph_bessel_data.ipp"
|
#include "sph_bessel_data.ipp"
|
||||||
for (unsigned i = 0; i < sph_bessel_data.size(); ++i)
|
for (unsigned i = 0; i < sph_bessel_data.size(); ++i)
|
||||||
{
|
{
|
||||||
r += boost::math::sph_bessel(static_cast<unsigned>(sph_bessel_data[i][0]), Real(sph_bessel_data[i][1]));
|
r += boost::math::sph_bessel(static_cast<unsigned>(sph_bessel_data[i][0]), Real(sph_bessel_data[i][1]));
|
||||||
@@ -148,7 +148,7 @@ template <class Real>
|
|||||||
Real test_nct()
|
Real test_nct()
|
||||||
{
|
{
|
||||||
#define T double
|
#define T double
|
||||||
#include "libs/math/test/nct.ipp"
|
#include "nct.ipp"
|
||||||
|
|
||||||
Real result = 0;
|
Real result = 0;
|
||||||
for (unsigned i = 0; i < nct.size(); ++i)
|
for (unsigned i = 0; i < nct.size(); ++i)
|
||||||
|
|||||||
252
test/Jamfile.v2
252
test/Jamfile.v2
@@ -3,10 +3,12 @@
|
|||||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt.
|
# http://www.boost.org/LICENSE_1_0.txt.
|
||||||
|
|
||||||
|
import-search /boost/config/checks ;
|
||||||
|
|
||||||
import testing ;
|
import testing ;
|
||||||
import modules ;
|
import modules ;
|
||||||
import path ;
|
import path ;
|
||||||
import ../../config/checks/config : requires ;
|
import config : requires ;
|
||||||
|
|
||||||
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
local ntl-path = [ modules.peek : NTL_PATH ] ;
|
||||||
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
local gmp_path = [ modules.peek : GMP_PATH ] ;
|
||||||
@@ -29,7 +31,7 @@ local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
|||||||
# compile_fail
|
# compile_fail
|
||||||
# concepts
|
# concepts
|
||||||
# examples
|
# examples
|
||||||
#
|
#
|
||||||
# You can run an individual suite by passing its name to b2 on the command line.
|
# You can run an individual suite by passing its name to b2 on the command line.
|
||||||
# Or you can run all except the "specfun" tests (which are very slow) by not specifying anything.
|
# Or you can run all except the "specfun" tests (which are very slow) by not specifying anything.
|
||||||
#
|
#
|
||||||
@@ -42,6 +44,8 @@ local tommath_path = [ modules.peek : TOMMATH_PATH ] ;
|
|||||||
path-constant here : . ;
|
path-constant here : . ;
|
||||||
|
|
||||||
project : requirements
|
project : requirements
|
||||||
|
<library>/boost/multiprecision//boost_multiprecision
|
||||||
|
<include>.
|
||||||
<include>$(gmp_path)
|
<include>$(gmp_path)
|
||||||
<include>$(gmp_path)/mpfr
|
<include>$(gmp_path)/mpfr
|
||||||
<include>$(gmp_path)/gmpfrxx
|
<include>$(gmp_path)/gmpfrxx
|
||||||
@@ -49,8 +53,6 @@ project : requirements
|
|||||||
<include>$(mpfi_path)
|
<include>$(mpfi_path)
|
||||||
<include>$(mpfi_path)/src
|
<include>$(mpfi_path)/src
|
||||||
<include>$(tommath_path)
|
<include>$(tommath_path)
|
||||||
<include>../include
|
|
||||||
<include>../../..
|
|
||||||
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
||||||
<toolset>msvc:<runtime-link>static
|
<toolset>msvc:<runtime-link>static
|
||||||
<toolset>msvc:<link>static
|
<toolset>msvc:<link>static
|
||||||
@@ -62,7 +64,7 @@ project : requirements
|
|||||||
<toolset>clang:<link>static # Clang-linux does not generate .dlls.
|
<toolset>clang:<link>static # Clang-linux does not generate .dlls.
|
||||||
<toolset>clang:<cxxflags>-Wno-unused-variable # warning: unused variable 'tolerance' [-Wunused-variable]
|
<toolset>clang:<cxxflags>-Wno-unused-variable # warning: unused variable 'tolerance' [-Wunused-variable]
|
||||||
<toolset>clang:<cxxflags>-v
|
<toolset>clang:<cxxflags>-v
|
||||||
|
|
||||||
# Assembler error "File too big" caused by lots of C++ templates, for example, math/floating_point_examples.cpp.
|
# Assembler error "File too big" caused by lots of C++ templates, for example, math/floating_point_examples.cpp.
|
||||||
# Some projects on some toolsets may require
|
# Some projects on some toolsets may require
|
||||||
# <toolset>gcc-mingw:<cxxflags>\"-Wa,-mbig-obj\"
|
# <toolset>gcc-mingw:<cxxflags>\"-Wa,-mbig-obj\"
|
||||||
@@ -70,7 +72,7 @@ project : requirements
|
|||||||
# <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj # Some projects may overflow assembler and require equivalent of MSVC /bigobj.
|
# <toolset>gcc-mingw:<cxxflags>-Wa,-mbig-obj # Some projects may overflow assembler and require equivalent of MSVC /bigobj.
|
||||||
# Requires version 2.30 of GNU binutils.
|
# Requires version 2.30 of GNU binutils.
|
||||||
# Best applied only to projects that require this, see multiprecision/example run math/floating_point_examples.cpp.
|
# Best applied only to projects that require this, see multiprecision/example run math/floating_point_examples.cpp.
|
||||||
|
|
||||||
# Speed up compiles:
|
# Speed up compiles:
|
||||||
<toolset>msvc:<debug-symbols>off
|
<toolset>msvc:<debug-symbols>off
|
||||||
<toolset>intel:<debug-symbols>off
|
<toolset>intel:<debug-symbols>off
|
||||||
@@ -81,7 +83,7 @@ project : requirements
|
|||||||
# We can't yet enable this - it breaks the STL in some tests...
|
# We can't yet enable this - it breaks the STL in some tests...
|
||||||
#<toolset>msvc,<optimization>off:<cxxflags>-RTCc
|
#<toolset>msvc,<optimization>off:<cxxflags>-RTCc
|
||||||
#<toolset>msvc,<optimization>off:<define>_ALLOW_RTCc_IN_STL
|
#<toolset>msvc,<optimization>off:<define>_ALLOW_RTCc_IN_STL
|
||||||
[ requires
|
[ requires
|
||||||
cxx11_rvalue_references cxx11_template_aliases cxx11_hdr_array cxx11_allocator cxx11_constexpr cxx11_explicit_conversion_operators cxx11_ref_qualifiers
|
cxx11_rvalue_references cxx11_template_aliases cxx11_hdr_array cxx11_allocator cxx11_constexpr cxx11_explicit_conversion_operators cxx11_ref_qualifiers
|
||||||
cxx11_hdr_functional cxx11_variadic_templates cxx11_user_defined_literals cxx11_decltype cxx11_static_assert cxx11_defaulted_functions
|
cxx11_hdr_functional cxx11_variadic_templates cxx11_user_defined_literals cxx11_decltype cxx11_static_assert cxx11_defaulted_functions
|
||||||
cxx11_noexcept cxx11_ref_qualifiers cxx11_user_defined_literals cxx11_hdr_type_traits
|
cxx11_noexcept cxx11_ref_qualifiers cxx11_user_defined_literals cxx11_hdr_type_traits
|
||||||
@@ -133,7 +135,7 @@ test-suite arithmetic_tests :
|
|||||||
[ run test_arithmetic_mpf.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpf.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_mpz.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpz.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_mpz_rat.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpz_rat.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_mpz_br.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpz_br.cpp gmp no_eh_support /boost/rational//boost_rational : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_mpq.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpq.cpp gmp no_eh_support : : : [ check-target-builds ../config//has_gmp : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
|
|
||||||
[ run test_arithmetic_mpfr.cpp mpfr gmp no_eh_support : : : [ check-target-builds ../config//has_mpfr : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_mpfr.cpp mpfr gmp no_eh_support : : : [ check-target-builds ../config//has_mpfr : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
@@ -142,7 +144,7 @@ test-suite arithmetic_tests :
|
|||||||
|
|
||||||
[ run test_arithmetic_tommath.cpp $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_tommath.cpp $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_tommath_rat.cpp $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_tommath_rat.cpp $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_tommath_br.cpp $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_tommath_br.cpp /boost/rational//boost_rational $(TOMMATH) no_eh_support : : : [ check-target-builds ../config//has_tommath : : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
|
|
||||||
[ run test_arithmetic_cpp_int_1.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_1.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_cpp_int_2.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_2.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
@@ -167,7 +169,7 @@ test-suite arithmetic_tests :
|
|||||||
[ run test_arithmetic_cpp_int_21.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_21.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_cpp_int_22.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_22.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_cpp_int_23.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_23.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_cpp_int_br.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_cpp_int_br.cpp no_eh_support /boost/rational//boost_rational : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
|
|
||||||
[ run test_arithmetic_ab_1.cpp no_eh_support : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_ab_1.cpp no_eh_support : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run test_arithmetic_ab_2.cpp no_eh_support : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run test_arithmetic_ab_2.cpp no_eh_support : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
@@ -250,12 +252,12 @@ test-suite arithmetic_tests :
|
|||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
alias precision_tests : test_preserve_source_precision_gmp test_preserve_source_precision_mpfr test_preserve_source_precision_mpc test_preserve_source_precision_mpfi
|
alias precision_tests : test_preserve_source_precision_gmp test_preserve_source_precision_mpfr test_preserve_source_precision_mpc test_preserve_source_precision_mpfi
|
||||||
test_preserve_component_precision_gmp test_preserve_component_precision_mpfr test_preserve_component_precision_mpc test_preserve_component_precision_mpfi
|
test_preserve_component_precision_gmp test_preserve_component_precision_mpfr test_preserve_component_precision_mpc test_preserve_component_precision_mpfi
|
||||||
test_preserve_related_precision_gmp test_preserve_related_precision_mpfr test_preserve_related_precision_mpc test_preserve_related_precision_mpfi
|
test_preserve_related_precision_gmp test_preserve_related_precision_mpfr test_preserve_related_precision_mpc test_preserve_related_precision_mpfi
|
||||||
test_preserve_all_precision_gmp test_preserve_all_precision_mpfr test_preserve_all_precision_mpc test_preserve_all_precision_mpfi
|
test_preserve_all_precision_gmp test_preserve_all_precision_mpfr test_preserve_all_precision_mpc test_preserve_all_precision_mpfi
|
||||||
test_preserve_target_precision_gmp test_preserve_target_precision_mpfr test_preserve_target_precision_mpc test_preserve_target_precision_mpfi
|
test_preserve_target_precision_gmp test_preserve_target_precision_mpfr test_preserve_target_precision_mpc test_preserve_target_precision_mpfi
|
||||||
test_assume_uniform_precision_gmp test_assume_uniform_precision_mpfr test_assume_uniform_precision_mpc test_assume_uniform_precision_mpfi
|
test_assume_uniform_precision_gmp test_assume_uniform_precision_mpfr test_assume_uniform_precision_mpc test_assume_uniform_precision_mpfi
|
||||||
test_mpfr_mpc_precisions test_mpfi_precisions test_mpf_precisions test_threaded_precision_mpf ;
|
test_mpfr_mpc_precisions test_mpfi_precisions test_mpf_precisions test_threaded_precision_mpf ;
|
||||||
|
|
||||||
rule get_function_tests
|
rule get_function_tests
|
||||||
@@ -567,7 +569,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_mpz_int.cpp
|
[ run test_convert_from_mpz_int.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -577,7 +579,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_tom_int.cpp
|
[ run test_convert_from_tom_int.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -587,7 +589,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_cpp_rational.cpp
|
[ run test_convert_from_cpp_rational.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -597,7 +599,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_gmp_rational.cpp
|
[ run test_convert_from_gmp_rational.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -607,7 +609,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_tom_rational.cpp
|
[ run test_convert_from_tom_rational.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -617,7 +619,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_cpp_bin_float.cpp
|
[ run test_convert_from_cpp_bin_float.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -627,7 +629,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_cpp_dec_float.cpp
|
[ run test_convert_from_cpp_dec_float.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -637,7 +639,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_mpf_float.cpp
|
[ run test_convert_from_mpf_float.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -647,7 +649,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_mpfr_float.cpp
|
[ run test_convert_from_mpfr_float.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -657,7 +659,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_mpfi_float.cpp
|
[ run test_convert_from_mpfi_float.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -667,7 +669,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
[ run test_convert_from_float128.cpp
|
[ run test_convert_from_float128.cpp
|
||||||
: # command line
|
: # command line
|
||||||
@@ -677,7 +679,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
|
|
||||||
[ run test_cpp_bin_float_conv.cpp ]
|
[ run test_cpp_bin_float_conv.cpp ]
|
||||||
@@ -772,7 +774,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type : <build>no ] [ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
: test_float_io_intel_quad ]
|
: test_float_io_intel_quad ]
|
||||||
|
|
||||||
[ run test_int_io.cpp no_eh_support $(TOMMATH)
|
[ run test_int_io.cpp no_eh_support $(TOMMATH) /boost/algorithm//boost_algorithm
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -781,7 +783,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_tommath : : <build>no ]
|
[ check-target-builds ../config//has_tommath : : <build>no ]
|
||||||
: test_int_io_tommath ]
|
: test_int_io_tommath ]
|
||||||
|
|
||||||
[ run test_int_io.cpp no_eh_support gmp
|
[ run test_int_io.cpp no_eh_support gmp /boost/algorithm//boost_algorithm
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -790,21 +792,21 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_gmp : : <build>no ]
|
[ check-target-builds ../config//has_gmp : : <build>no ]
|
||||||
: test_int_io_mpz ]
|
: test_int_io_mpz ]
|
||||||
|
|
||||||
[ run test_fixed_zero_precision_io.cpp
|
[ run test_fixed_zero_precision_io.cpp /boost/chrono//boost_chrono
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_BIN_FLOAT
|
<define>TEST_BIN_FLOAT
|
||||||
release
|
release
|
||||||
: test_fixed_zero_precision_io_bin_float ]
|
: test_fixed_zero_precision_io_bin_float ]
|
||||||
[ run test_fixed_zero_precision_io.cpp
|
[ run test_fixed_zero_precision_io.cpp /boost/chrono//boost_chrono
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_DEC_FLOAT
|
<define>TEST_DEC_FLOAT
|
||||||
release
|
release
|
||||||
: test_fixed_zero_precision_io_dec_float ]
|
: test_fixed_zero_precision_io_dec_float ]
|
||||||
[ run test_fixed_zero_precision_io.cpp no_eh_support gmp
|
[ run test_fixed_zero_precision_io.cpp no_eh_support gmp /boost/chrono//boost_chrono
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -812,7 +814,7 @@ test-suite conversions :
|
|||||||
release
|
release
|
||||||
[ check-target-builds ../config//has_gmp : : <build>no ]
|
[ check-target-builds ../config//has_gmp : : <build>no ]
|
||||||
: test_fixed_zero_precision_io_mpf_float ]
|
: test_fixed_zero_precision_io_mpf_float ]
|
||||||
[ run test_fixed_zero_precision_io.cpp no_eh_support mpfr gmp
|
[ run test_fixed_zero_precision_io.cpp no_eh_support mpfr gmp /boost/chrono//boost_chrono
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -820,7 +822,7 @@ test-suite conversions :
|
|||||||
release
|
release
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
: test_fixed_zero_precision_io_mpfr_float ]
|
: test_fixed_zero_precision_io_mpfr_float ]
|
||||||
[ run test_fixed_zero_precision_io.cpp no_eh_support quadmath
|
[ run test_fixed_zero_precision_io.cpp no_eh_support quadmath /boost/chrono//boost_chrono
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -829,7 +831,7 @@ test-suite conversions :
|
|||||||
[ check-target-builds ../config//has_float128 : : <build>no ]
|
[ check-target-builds ../config//has_float128 : : <build>no ]
|
||||||
: test_fixed_zero_precision_io_float128 ]
|
: test_fixed_zero_precision_io_float128 ]
|
||||||
|
|
||||||
[ run test_trailing_io_delim.cpp no_eh_support
|
[ run test_trailing_io_delim.cpp no_eh_support
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -875,7 +877,7 @@ test-suite conversions :
|
|||||||
|
|
||||||
test-suite cpp_int_tests :
|
test-suite cpp_int_tests :
|
||||||
|
|
||||||
[ run test_int_io.cpp no_eh_support
|
[ run test_int_io.cpp no_eh_support /boost/algorithm//boost_algorithm
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1001,25 +1003,25 @@ test-suite cpp_int_tests :
|
|||||||
[ run test_checked_cpp_int.cpp no_eh_support ]
|
[ run test_checked_cpp_int.cpp no_eh_support ]
|
||||||
[ run test_unchecked_cpp_int.cpp no_eh_support : : : release ]
|
[ run test_unchecked_cpp_int.cpp no_eh_support : : : release ]
|
||||||
|
|
||||||
[ run test_cpp_int_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST1 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_1 ]
|
[ run test_cpp_int_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST1 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_1 ]
|
||||||
[ run test_cpp_int_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_2 ]
|
[ run test_cpp_int_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_2 ]
|
||||||
[ run test_cpp_int_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST3 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_3 ]
|
[ run test_cpp_int_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST3 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_3 ]
|
||||||
[ run test_cpp_int_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST4 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_4 ]
|
[ run test_cpp_int_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST4 <toolset>gcc-mingw:<link>static : test_cpp_int_serial_4 ]
|
||||||
[ run test_cpp_int_deserial.cpp ../../serialization/build//boost_serialization ../../filesystem/build//boost_filesystem : $(here)/serial_txts : : release <toolset>gcc-mingw:<link>static ]
|
[ run test_cpp_int_deserial.cpp /boost/serialization//boost_serialization /boost/filesystem//boost_filesystem : $(here)/serial_txts : : release <toolset>gcc-mingw:<link>static ]
|
||||||
[ run test_cpp_rat_serial.cpp ../../serialization/build//boost_serialization : : : release <toolset>gcc-mingw:<link>static ]
|
[ run test_cpp_rat_serial.cpp /boost/serialization//boost_serialization : : : release <toolset>gcc-mingw:<link>static ]
|
||||||
[ run test_gcd.cpp : : : [ requires cxx11_hdr_random ] ]
|
[ run test_gcd.cpp : : : [ requires cxx11_hdr_random ] ]
|
||||||
;
|
;
|
||||||
|
|
||||||
test-suite misc :
|
test-suite misc :
|
||||||
|
|
||||||
[ compile test_constexpr.cpp :
|
[ compile test_constexpr.cpp :
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAVE_FLOAT128 : ]
|
[ check-target-builds ../config//has_float128 : <define>HAVE_FLOAT128 : ]
|
||||||
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type <define>HAVE_FLOAT128 : ]
|
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type <define>HAVE_FLOAT128 : ]
|
||||||
[ requires cxx11_constexpr cxx11_user_defined_literals ] ]
|
[ requires cxx11_constexpr cxx11_user_defined_literals ] ]
|
||||||
|
|
||||||
[ compile constexpr_test_arithmetic_backend.cpp :
|
[ compile constexpr_test_arithmetic_backend.cpp :
|
||||||
[ requires cxx14_constexpr cxx17_if_constexpr ] ]
|
[ requires cxx14_constexpr cxx17_if_constexpr ] ]
|
||||||
[ compile constexpr_test_float128.cpp :
|
[ compile constexpr_test_float128.cpp :
|
||||||
[ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_float128 : <source>quadmath : <build>no ] ]
|
[ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_float128 : <source>quadmath : <build>no ] ]
|
||||||
|
|
||||||
[ run constexpr_test_cpp_int.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
[ run constexpr_test_cpp_int.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
||||||
@@ -1027,8 +1029,8 @@ test-suite misc :
|
|||||||
[ run constexpr_test_cpp_int_3.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
[ run constexpr_test_cpp_int_3.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
||||||
[ run constexpr_test_cpp_int_4.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
[ run constexpr_test_cpp_int_4.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
||||||
[ run constexpr_test_cpp_int_5.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
[ run constexpr_test_cpp_int_5.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
||||||
[ run constexpr_test_cpp_int_6.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : <toolset>msvc:<cxxflags>-constexpr:steps10000000 <toolset>clang:<cxxflags>-fconstexpr-steps=268435456 : <build>no ] [ check-target-builds ../config//has_constexpr_limits : <cxxflags>-fconstexpr-ops-limit=268435456 ] ]
|
[ run constexpr_test_cpp_int_6.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : "<toolset>msvc:<cxxflags>-constexpr:steps10000000" <toolset>clang:<cxxflags>-fconstexpr-steps=268435456 : <build>no ] [ check-target-builds ../config//has_constexpr_limits : <cxxflags>-fconstexpr-ops-limit=268435456 ] ]
|
||||||
[ run constexpr_test_cpp_int_7.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : <toolset>msvc:<cxxflags>-constexpr:steps10000000 <toolset>clang:<cxxflags>-fconstexpr-steps=268435456 : <build>no ] ]
|
[ run constexpr_test_cpp_int_7.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : "<toolset>msvc:<cxxflags>-constexpr:steps10000000" <toolset>clang:<cxxflags>-fconstexpr-steps=268435456 : <build>no ] ]
|
||||||
|
|
||||||
[ compile test_nothrow_cpp_int.cpp ]
|
[ compile test_nothrow_cpp_int.cpp ]
|
||||||
[ compile test_nothrow_cpp_rational.cpp ]
|
[ compile test_nothrow_cpp_rational.cpp ]
|
||||||
@@ -1046,7 +1048,7 @@ test-suite misc :
|
|||||||
release # otherwise [ runtime is too slow!!
|
release # otherwise [ runtime is too slow!!
|
||||||
]
|
]
|
||||||
|
|
||||||
[ run test_rational_io.cpp $(TOMMATH) no_eh_support
|
[ run test_rational_io.cpp $(TOMMATH) no_eh_support /boost/algorithm//boost_algorithm /boost/rational//boost_rational
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1055,7 +1057,7 @@ test-suite misc :
|
|||||||
release # Otherwise [ runtime is slow
|
release # Otherwise [ runtime is slow
|
||||||
: test_rational_io_tommath ]
|
: test_rational_io_tommath ]
|
||||||
|
|
||||||
[ run test_rational_io.cpp gmp no_eh_support
|
[ run test_rational_io.cpp gmp no_eh_support /boost/algorithm//boost_algorithm /boost/rational//boost_rational
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1064,7 +1066,7 @@ test-suite misc :
|
|||||||
release # Otherwise [ runtime is slow
|
release # Otherwise [ runtime is slow
|
||||||
: test_rational_io_mpz ]
|
: test_rational_io_mpz ]
|
||||||
|
|
||||||
[ run test_rational_io.cpp no_eh_support
|
[ run test_rational_io.cpp no_eh_support /boost/algorithm//boost_algorithm /boost/rational//boost_rational
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1087,7 +1089,7 @@ test-suite misc :
|
|||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST1
|
<define>TEST1
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_1 ]
|
: test_rat_float_interconv_1 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
||||||
@@ -1095,7 +1097,7 @@ test-suite misc :
|
|||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST2
|
<define>TEST2
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_2 ]
|
: test_rat_float_interconv_2 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
||||||
@@ -1103,7 +1105,7 @@ test-suite misc :
|
|||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST3
|
<define>TEST3
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_3 ]
|
: test_rat_float_interconv_3 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono
|
||||||
@@ -1111,7 +1113,7 @@ test-suite misc :
|
|||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST4
|
<define>TEST4
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_4 ]
|
: test_rat_float_interconv_4 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
||||||
@@ -1120,7 +1122,7 @@ test-suite misc :
|
|||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST5
|
<define>TEST5
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_5 ]
|
: test_rat_float_interconv_5 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
||||||
@@ -1129,7 +1131,7 @@ test-suite misc :
|
|||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST6
|
<define>TEST6
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_6 ]
|
: test_rat_float_interconv_6 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
||||||
@@ -1138,7 +1140,7 @@ test-suite misc :
|
|||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST7
|
<define>TEST7
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_7 ]
|
: test_rat_float_interconv_7 ]
|
||||||
|
|
||||||
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
[ run test_rat_float_interconv.cpp no_eh_support /boost/system//boost_system /boost/chrono//boost_chrono mpfr gmp
|
||||||
@@ -1147,11 +1149,11 @@ test-suite misc :
|
|||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST8
|
<define>TEST8
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
release
|
release
|
||||||
: test_rat_float_interconv_8 ]
|
: test_rat_float_interconv_8 ]
|
||||||
|
|
||||||
[ run test_cpp_int_conv.cpp no_eh_support ]
|
[ run test_cpp_int_conv.cpp no_eh_support ]
|
||||||
[ run test_cpp_int_import_export.cpp no_eh_support ]
|
[ run test_cpp_int_import_export.cpp no_eh_support /boost/algorithm//boost_algorithm ]
|
||||||
[ run test_native_integer.cpp no_eh_support ]
|
[ run test_native_integer.cpp no_eh_support ]
|
||||||
|
|
||||||
[ run test_mixed_move_cpp_int.cpp no_eh_support ]
|
[ run test_mixed_move_cpp_int.cpp no_eh_support ]
|
||||||
@@ -1175,31 +1177,31 @@ test-suite misc :
|
|||||||
[ compile include_test/cpp_dec_float_include_test.cpp ]
|
[ compile include_test/cpp_dec_float_include_test.cpp ]
|
||||||
[ compile include_test/cpp_bin_float_include_test.cpp ]
|
[ compile include_test/cpp_bin_float_include_test.cpp ]
|
||||||
|
|
||||||
[ run ublas_interop/test1.cpp ublas_interop/test11.cpp ublas_interop/test12.cpp ublas_interop/test13.cpp no_eh_support ]
|
[ run ublas_interop/test1.cpp ublas_interop/test11.cpp ublas_interop/test12.cpp ublas_interop/test13.cpp no_eh_support /boost/ublas//boost_ublas ]
|
||||||
[ run ublas_interop/test2.cpp ublas_interop/test21.cpp ublas_interop/test22.cpp ublas_interop/test23.cpp no_eh_support ]
|
[ run ublas_interop/test2.cpp ublas_interop/test21.cpp ublas_interop/test22.cpp ublas_interop/test23.cpp no_eh_support /boost/ublas//boost_ublas ]
|
||||||
#[ run ublas_interop/test3.cpp ublas_interop/test31.cpp ublas_interop/test32.cpp ublas_interop/test33.cpp ]
|
#[ run ublas_interop/test3.cpp ublas_interop/test31.cpp ublas_interop/test32.cpp ublas_interop/test33.cpp /boost/ublas//boost_ublas ]
|
||||||
[ run ublas_interop/test4.cpp ublas_interop/test42.cpp ublas_interop/test43.cpp no_eh_support ]
|
[ run ublas_interop/test4.cpp ublas_interop/test42.cpp ublas_interop/test43.cpp no_eh_support /boost/ublas//boost_ublas ]
|
||||||
[ run ublas_interop/test5.cpp ublas_interop/test52.cpp ublas_interop/test53.cpp no_eh_support ]
|
[ run ublas_interop/test5.cpp ublas_interop/test52.cpp ublas_interop/test53.cpp no_eh_support /boost/ublas//boost_ublas ]
|
||||||
[ run ublas_interop/test6.cpp ublas_interop/test62.cpp ublas_interop/test63.cpp no_eh_support ]
|
[ run ublas_interop/test6.cpp ublas_interop/test62.cpp ublas_interop/test63.cpp no_eh_support /boost/ublas//boost_ublas ]
|
||||||
#[ run ublas_interop/test7.cpp ublas_interop/test71.cpp ublas_interop/test72.cpp ublas_interop/test73.cpp ]
|
#[ run ublas_interop/test7.cpp ublas_interop/test71.cpp ublas_interop/test72.cpp ublas_interop/test73.cpp /boost/ublas//boost_ublas ]
|
||||||
|
|
||||||
[ run ublas_interop/test1.cpp ublas_interop/test11.cpp ublas_interop/test12.cpp ublas_interop/test13.cpp no_eh_support : : : <define>TEST_ET=1 : ublas1_et ]
|
[ run ublas_interop/test1.cpp ublas_interop/test11.cpp ublas_interop/test12.cpp ublas_interop/test13.cpp no_eh_support /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas1_et ]
|
||||||
[ run ublas_interop/test2.cpp ublas_interop/test21.cpp ublas_interop/test22.cpp ublas_interop/test23.cpp no_eh_support : : : <define>TEST_ET=1 : ublas2_et ]
|
[ run ublas_interop/test2.cpp ublas_interop/test21.cpp ublas_interop/test22.cpp ublas_interop/test23.cpp no_eh_support /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas2_et ]
|
||||||
#[ run ublas_interop/test3.cpp ublas_interop/test31.cpp ublas_interop/test32.cpp ublas_interop/test33.cpp : : : <define>TEST_ET=1 : ublas3_et ]
|
#[ run ublas_interop/test3.cpp ublas_interop/test31.cpp ublas_interop/test32.cpp ublas_interop/test33.cpp /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas3_et ]
|
||||||
[ run ublas_interop/test4.cpp ublas_interop/test42.cpp ublas_interop/test43.cpp no_eh_support : : : <define>TEST_ET=1 : ublas3_et ]
|
[ run ublas_interop/test4.cpp ublas_interop/test42.cpp ublas_interop/test43.cpp no_eh_support /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas3_et ]
|
||||||
[ run ublas_interop/test5.cpp ublas_interop/test52.cpp ublas_interop/test53.cpp no_eh_support : : : <define>TEST_ET=1 : ublas4_et ]
|
[ run ublas_interop/test5.cpp ublas_interop/test52.cpp ublas_interop/test53.cpp no_eh_support /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas4_et ]
|
||||||
[ run ublas_interop/test6.cpp ublas_interop/test62.cpp ublas_interop/test63.cpp no_eh_support : : : <define>TEST_ET=1 : ublas5_et ]
|
[ run ublas_interop/test6.cpp ublas_interop/test62.cpp ublas_interop/test63.cpp no_eh_support /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas5_et ]
|
||||||
#[ run ublas_interop/test7.cpp ublas_interop/test71.cpp ublas_interop/test72.cpp ublas_interop/test73.cpp : : : <define>TEST_ET=1 : ublas6_et ]
|
#[ run ublas_interop/test7.cpp ublas_interop/test71.cpp ublas_interop/test72.cpp ublas_interop/test73.cpp /boost/ublas//boost_ublas : : : <define>TEST_ET=1 : ublas6_et ]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Serialization tests, run in release mode so we cycle through more values:
|
# Serialization tests, run in release mode so we cycle through more values:
|
||||||
#
|
#
|
||||||
[ run test_adapt_serial.cpp ../../serialization/build//boost_serialization : : : release <toolset>gcc-mingw:<link>static ]
|
[ run test_adapt_serial.cpp /boost/serialization//boost_serialization : : : release <toolset>gcc-mingw:<link>static ]
|
||||||
[ run test_cpp_dec_float_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST1 <toolset>gcc-mingw:<link>static : test_cpp_dec_float_serial_1 ]
|
[ run test_cpp_dec_float_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST1 <toolset>gcc-mingw:<link>static : test_cpp_dec_float_serial_1 ]
|
||||||
[ run test_cpp_dec_float_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_cpp_dec_float_serial_2 ]
|
[ run test_cpp_dec_float_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_cpp_dec_float_serial_2 ]
|
||||||
[ run test_float128_serial.cpp ../../serialization/build//boost_serialization quadmath : : : release <toolset>gcc-mingw:<link>static [ check-target-builds ../config//has_float128 : : <build>no ] ]
|
[ run test_float128_serial.cpp /boost/serialization//boost_serialization quadmath : : : release <toolset>gcc-mingw:<link>static [ check-target-builds ../config//has_float128 : : <build>no ] ]
|
||||||
[ run test_cpp_bin_float_serial.cpp ../../serialization/build//boost_serialization : : : release <toolset>gcc-mingw:<link>static <define>TEST1 : test_bin_dec_float_serial_1 ]
|
[ run test_cpp_bin_float_serial.cpp /boost/serialization//boost_serialization : : : release <toolset>gcc-mingw:<link>static <define>TEST1 : test_bin_dec_float_serial_1 ]
|
||||||
[ run test_cpp_bin_float_serial.cpp ../../serialization/build//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_bin_dec_float_serial_2 ]
|
[ run test_cpp_bin_float_serial.cpp /boost/serialization//boost_serialization : : : release <define>TEST2 <toolset>gcc-mingw:<link>static : test_bin_dec_float_serial_2 ]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Mixed mode comparison tests, see: https://svn.boost.org/trac/boost/ticket/11328
|
# Mixed mode comparison tests, see: https://svn.boost.org/trac/boost/ticket/11328
|
||||||
@@ -1238,7 +1240,7 @@ test-suite misc :
|
|||||||
[ run git_issue_604.cpp : : : [ check-target-builds ../config//has_mpfr : <source>gmp <source>mpfr <define>TEST_MPFR_50 ]
|
[ run git_issue_604.cpp : : : [ check-target-builds ../config//has_mpfr : <source>gmp <source>mpfr <define>TEST_MPFR_50 ]
|
||||||
[ check-target-builds ../config//has_gmp : <source>gmp <define>TEST_MPF_50 ]
|
[ check-target-builds ../config//has_gmp : <source>gmp <define>TEST_MPF_50 ]
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath <define>TEST_FLOAT128 ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath <define>TEST_FLOAT128 ]
|
||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
<define>TEST_CPP_BIN_FLOAT ]
|
<define>TEST_CPP_BIN_FLOAT ]
|
||||||
[ compile git_issue_608.cpp ]
|
[ compile git_issue_608.cpp ]
|
||||||
[ run git_issue_624.cpp ]
|
[ run git_issue_624.cpp ]
|
||||||
@@ -1252,11 +1254,11 @@ test-suite misc :
|
|||||||
[ check-target-builds ../config//has_mpc : <define>TEST_MPC <source>gmp <source>mpfr <source>mpc : ] ]
|
[ check-target-builds ../config//has_mpc : <define>TEST_MPC <source>gmp <source>mpfr <source>mpc : ] ]
|
||||||
[ run issue_13301.cpp ]
|
[ run issue_13301.cpp ]
|
||||||
[ run issue_13148.cpp ]
|
[ run issue_13148.cpp ]
|
||||||
[ run logged_adaptor_output_test.cpp : : :
|
[ run logged_adaptor_output_test.cpp : : :
|
||||||
[ check-target-builds ../config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
|
[ check-target-builds ../config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
|
||||||
]
|
]
|
||||||
[ run logged_adaptor_cpp_output_test.cpp : : : [ requires cxx17_if_constexpr ] ]
|
[ run logged_adaptor_cpp_output_test.cpp : : : [ requires cxx17_if_constexpr ] ]
|
||||||
[ run test_hash.cpp : : :
|
[ run test_hash.cpp : : :
|
||||||
[ check-target-builds ../config//has_float128 : <define>TEST_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>TEST_FLOAT128 <source>quadmath : ]
|
||||||
[ check-target-builds ../config//has_gmp : <define>TEST_GMP <source>gmp : ]
|
[ check-target-builds ../config//has_gmp : <define>TEST_GMP <source>gmp : ]
|
||||||
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>gmp <source>mpfr : ]
|
||||||
@@ -1287,18 +1289,18 @@ test-suite misc :
|
|||||||
[ compile git_issue_393.cpp : release [ check-target-builds ../config//has_eigen : : <build>no ] ]
|
[ compile git_issue_393.cpp : release [ check-target-builds ../config//has_eigen : : <build>no ] ]
|
||||||
;
|
;
|
||||||
|
|
||||||
alias eigen_tests :
|
alias eigen_tests :
|
||||||
test_eigen_interop_cpp_int test_eigen_interop_cpp_dec_float test_eigen_interop_cpp_dec_float_2 test_eigen_interop_cpp_dec_float_3
|
test_eigen_interop_cpp_int test_eigen_interop_cpp_dec_float test_eigen_interop_cpp_dec_float_2 test_eigen_interop_cpp_dec_float_3
|
||||||
test_eigen_interop_cpp_bin_float_1 test_eigen_interop_cpp_bin_float_2 test_eigen_interop_cpp_bin_float_3 test_eigen_interop_mpfr_1
|
test_eigen_interop_cpp_bin_float_1 test_eigen_interop_cpp_bin_float_2 test_eigen_interop_cpp_bin_float_3 test_eigen_interop_mpfr_1
|
||||||
test_eigen_interop_mpfr_2 test_eigen_interop_mpfr_3 test_eigen_interop_mpfr_4 test_eigen_interop_mpfr_5 test_eigen_interop_mpfr_6
|
test_eigen_interop_mpfr_2 test_eigen_interop_mpfr_3 test_eigen_interop_mpfr_4 test_eigen_interop_mpfr_5 test_eigen_interop_mpfr_6
|
||||||
test_eigen_interop_gmp test_eigen_interop_gmp_2 test_eigen_interop_mpc git_issue_393 ;
|
test_eigen_interop_gmp test_eigen_interop_gmp_2 test_eigen_interop_mpc git_issue_393 ;
|
||||||
|
|
||||||
test-suite standalone :
|
test-suite standalone :
|
||||||
|
|
||||||
[ run standalone_constexpr_test_cpp_int.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
[ run standalone_constexpr_test_cpp_int.cpp : : : [ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_is_constant_evaluated : : <build>no ] ]
|
||||||
[ compile standalone_constexpr_test_float128.cpp :
|
[ compile standalone_constexpr_test_float128.cpp :
|
||||||
[ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_float128 : <source>quadmath : <build>no ] ]
|
[ requires cxx14_constexpr cxx17_if_constexpr ] [ check-target-builds ../config//has_float128 : <source>quadmath : <build>no ] ]
|
||||||
|
|
||||||
[ run standalone_test_arithmetic_complex128.cpp : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run standalone_test_arithmetic_complex128.cpp : : : [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run standalone_test_arithmetic_cpp_bin_float.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run standalone_test_arithmetic_cpp_bin_float.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
[ run standalone_test_arithmetic_cpp_dec_float.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
[ run standalone_test_arithmetic_cpp_dec_float.cpp no_eh_support : : : <toolset>msvc:<cxxflags>-bigobj [ check-target-builds ../config//has_float128 : <source>quadmath ] ]
|
||||||
@@ -1326,7 +1328,7 @@ test-suite standalone :
|
|||||||
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
[ check-target-builds ../config//has_mpfr : <define>HAS_MPFR <source>gmp <source>mpfr : ]
|
||||||
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
[ check-target-builds ../config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi : ]
|
||||||
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
[ check-target-builds ../config//has_tommath : <define>HAS_TOMMATH <source>tommath : ]
|
||||||
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
[ check-target-builds ../config//has_float128 : <define>HAS_FLOAT128 <source>quadmath : ]
|
||||||
]
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -1343,8 +1345,8 @@ rule get_specfun_tests_mpfr
|
|||||||
local result ;
|
local result ;
|
||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source) mpfr gmp
|
result += [ run $(source) mpfr gmp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_mpfr/<link>static
|
math/instances//test_instances_mpfr/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
@@ -1356,14 +1358,14 @@ rule get_specfun_tests_mpfr
|
|||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: $(source:B)_mpfr ] ;
|
: $(source:B)_mpfr ] ;
|
||||||
}
|
}
|
||||||
for local digits in $(high_precision_points)
|
for local digits in $(high_precision_points)
|
||||||
{
|
{
|
||||||
result += [ run math/high_prec/test_gamma.cpp
|
result += [ run math/high_prec/test_gamma.cpp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1373,7 +1375,7 @@ rule get_specfun_tests_mpfr
|
|||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>gmp <source>mpfr : <build>no ]
|
[ check-target-builds ../config//has_mpfr : <define>TEST_MPFR <source>gmp <source>mpfr : <build>no ]
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: test_gamma_mpfr_$(digits) ] ;
|
: test_gamma_mpfr_$(digits) ] ;
|
||||||
|
|
||||||
@@ -1386,8 +1388,8 @@ rule get_specfun_tests_gmp
|
|||||||
local result ;
|
local result ;
|
||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source) gmp
|
result += [ run $(source) gmp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_mpf/<link>static
|
math/instances//test_instances_mpf/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
@@ -1398,14 +1400,14 @@ rule get_specfun_tests_gmp
|
|||||||
<define>TEST_MPF_50
|
<define>TEST_MPF_50
|
||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: $(source:B)_mpf ] ;
|
: $(source:B)_mpf ] ;
|
||||||
}
|
}
|
||||||
for local digits in $(high_precision_points)
|
for local digits in $(high_precision_points)
|
||||||
{
|
{
|
||||||
result += [ run math/high_prec/test_gamma.cpp
|
result += [ run math/high_prec/test_gamma.cpp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1415,7 +1417,7 @@ rule get_specfun_tests_gmp
|
|||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <source>gmp : <build>no ]
|
[ check-target-builds ../config//has_gmp : <define>TEST_MPF <source>gmp : <build>no ]
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: test_gamma_gmp_$(digits) ] ;
|
: test_gamma_gmp_$(digits) ] ;
|
||||||
|
|
||||||
@@ -1428,7 +1430,7 @@ rule get_specfun_tests_cpp_dec_float
|
|||||||
local result ;
|
local result ;
|
||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source) /boost/test//boost_unit_test_framework/<link>static
|
result += [ run $(source) /boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_cpp_dec_float/<link>static
|
math/instances//test_instances_cpp_dec_float/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
@@ -1437,14 +1439,14 @@ rule get_specfun_tests_cpp_dec_float
|
|||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: $(source:B)_cpp_dec_float ] ;
|
: $(source:B)_cpp_dec_float ] ;
|
||||||
}
|
}
|
||||||
for local digits in $(high_precision_points)
|
for local digits in $(high_precision_points)
|
||||||
{
|
{
|
||||||
result += [ run math/high_prec/test_gamma.cpp
|
result += [ run math/high_prec/test_gamma.cpp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1453,7 +1455,7 @@ rule get_specfun_tests_cpp_dec_float
|
|||||||
<define>TEST_PRECISION=$(digits)
|
<define>TEST_PRECISION=$(digits)
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: test_gamma_cpp_dec_float_$(digits) ] ;
|
: test_gamma_cpp_dec_float_$(digits) ] ;
|
||||||
}
|
}
|
||||||
@@ -1465,7 +1467,7 @@ rule get_specfun_tests_cpp_bin_float
|
|||||||
local result ;
|
local result ;
|
||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source) /boost/test//boost_unit_test_framework/<link>static
|
result += [ run $(source) /boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_cpp_bin_float/<link>static
|
math/instances//test_instances_cpp_bin_float/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
@@ -1473,7 +1475,7 @@ rule get_specfun_tests_cpp_bin_float
|
|||||||
<define>TEST_CPP_BIN_FLOAT
|
<define>TEST_CPP_BIN_FLOAT
|
||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
: $(source:B)_cpp_bin_float ] ;
|
: $(source:B)_cpp_bin_float ] ;
|
||||||
@@ -1481,7 +1483,7 @@ rule get_specfun_tests_cpp_bin_float
|
|||||||
for local digits in $(high_precision_points)
|
for local digits in $(high_precision_points)
|
||||||
{
|
{
|
||||||
result += [ run math/high_prec/test_gamma.cpp
|
result += [ run math/high_prec/test_gamma.cpp
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
@@ -1491,7 +1493,7 @@ rule get_specfun_tests_cpp_bin_float
|
|||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<define>TEST_CPP_BIN_FLOAT
|
<define>TEST_CPP_BIN_FLOAT
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: test_gamma_cpp_bin_float_$(digits) ] ;
|
: test_gamma_cpp_bin_float_$(digits) ] ;
|
||||||
|
|
||||||
@@ -1504,8 +1506,8 @@ rule get_specfun_tests_float128
|
|||||||
local result ;
|
local result ;
|
||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source) quadmath
|
result += [ run $(source) quadmath
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_float128/<link>static
|
math/instances//test_instances_float128/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
@@ -1516,7 +1518,7 @@ rule get_specfun_tests_float128
|
|||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: $(source:B)_float128 ] ;
|
: $(source:B)_float128 ] ;
|
||||||
}
|
}
|
||||||
@@ -1529,19 +1531,19 @@ rule get_specfun_tests_intel_quad
|
|||||||
for local source in [ glob math/*.cpp ]
|
for local source in [ glob math/*.cpp ]
|
||||||
{
|
{
|
||||||
result += [ run $(source)
|
result += [ run $(source)
|
||||||
/boost/test//boost_unit_test_framework/<link>static
|
/boost/test//boost_unit_test_framework/<link>static
|
||||||
math/instances//test_instances_intel_quad/<link>static
|
math/instances//test_instances_intel_quad/<link>static
|
||||||
: # command line
|
: # command line
|
||||||
: # input files
|
: # input files
|
||||||
: # requirements
|
: # requirements
|
||||||
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type : <build>no ]
|
[ check-target-builds ../config//has_intel_quad : <cxxflags>-Qoption,cpp,--extended_float_type : <build>no ]
|
||||||
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
[ check-target-builds ../config//has_float128 : <source>quadmath ]
|
||||||
<optimization>speed
|
<optimization>speed
|
||||||
<define>TEST_FLOAT128
|
<define>TEST_FLOAT128
|
||||||
<define>BOOST_ALL_NO_LIB
|
<define>BOOST_ALL_NO_LIB
|
||||||
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
<define>BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE
|
||||||
<toolset>msvc:<cxxflags>-bigobj
|
<toolset>msvc:<cxxflags>-bigobj
|
||||||
<include>../../math/include_private
|
<library>/boost/math//testing
|
||||||
release
|
release
|
||||||
: $(source:B)_intel_quad ] ;
|
: $(source:B)_intel_quad ] ;
|
||||||
}
|
}
|
||||||
@@ -1589,7 +1591,7 @@ rule get_concept_checks
|
|||||||
for local source in [ glob concepts/*.cpp ]
|
for local source in [ glob concepts/*.cpp ]
|
||||||
{
|
{
|
||||||
|
|
||||||
result += [ compile $(source) mpfr
|
result += [ compile $(source) mpfr /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPFR_50
|
<define>TEST_MPFR_50
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
@@ -1597,7 +1599,7 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpfr_50 ] ;
|
: $(source:B)_mpfr_50 ] ;
|
||||||
|
|
||||||
result += [ compile $(source) mpfr
|
result += [ compile $(source) mpfr /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPFR_6
|
<define>TEST_MPFR_6
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
@@ -1605,7 +1607,7 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpfr_6 ] ;
|
: $(source:B)_mpfr_6 ] ;
|
||||||
|
|
||||||
result += [ compile $(source) mpfr
|
result += [ compile $(source) mpfr /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPFR_15
|
<define>TEST_MPFR_15
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
@@ -1613,7 +1615,7 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpfr_15 ] ;
|
: $(source:B)_mpfr_15 ] ;
|
||||||
|
|
||||||
result += [ compile $(source) mpfr
|
result += [ compile $(source) mpfr /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPFR_17
|
<define>TEST_MPFR_17
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
@@ -1621,7 +1623,7 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpfr_17 ] ;
|
: $(source:B)_mpfr_17 ] ;
|
||||||
|
|
||||||
result += [ compile $(source) mpfr
|
result += [ compile $(source) mpfr /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPFR_30
|
<define>TEST_MPFR_30
|
||||||
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
[ check-target-builds ../config//has_mpfr : : <build>no ]
|
||||||
@@ -1629,7 +1631,7 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpfr_30 ] ;
|
: $(source:B)_mpfr_30 ] ;
|
||||||
|
|
||||||
result += [ compile $(source) gmp
|
result += [ compile $(source) gmp /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_MPF_50
|
<define>TEST_MPF_50
|
||||||
[ check-target-builds ../config//has_gmp : : <build>no ]
|
[ check-target-builds ../config//has_gmp : : <build>no ]
|
||||||
@@ -1637,35 +1639,35 @@ rule get_concept_checks
|
|||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_mpf50 ] ;
|
: $(source:B)_mpf50 ] ;
|
||||||
|
|
||||||
result += [ compile $(source)
|
result += [ compile $(source) /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_CPP_DEC_FLOAT
|
<define>TEST_CPP_DEC_FLOAT
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_cpp_dec_float ] ;
|
: $(source:B)_cpp_dec_float ] ;
|
||||||
|
|
||||||
result += [ compile $(source)
|
result += [ compile $(source) /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_CPP_BIN_FLOAT
|
<define>TEST_CPP_BIN_FLOAT
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_cpp_bin_float ] ;
|
: $(source:B)_cpp_bin_float ] ;
|
||||||
|
|
||||||
result += [ compile $(source)
|
result += [ compile $(source) /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_CPP_DEC_FLOAT_NO_ET
|
<define>TEST_CPP_DEC_FLOAT_NO_ET
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_cpp_dec_float_no_et ] ;
|
: $(source:B)_cpp_dec_float_no_et ] ;
|
||||||
|
|
||||||
result += [ compile $(source)
|
result += [ compile $(source) /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_BACKEND
|
<define>TEST_BACKEND
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
<optimization>space
|
<optimization>space
|
||||||
: $(source:B)_backend_concept ] ;
|
: $(source:B)_backend_concept ] ;
|
||||||
|
|
||||||
result += [ compile $(source)
|
result += [ compile $(source) /boost/math//boost_math /boost/math//testing
|
||||||
: # requirements
|
: # requirements
|
||||||
<define>TEST_LOGGED_ADAPTER
|
<define>TEST_LOGGED_ADAPTER
|
||||||
<debug-symbols>off
|
<debug-symbols>off
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <boost/concept/assert.hpp>
|
#include <boost/concept/assert.hpp>
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/container_hash/hash.hpp>
|
#include <boost/container_hash/hash.hpp>
|
||||||
#include <libs/math/test/compile_test/poison.hpp>
|
#include <compile_test/poison.hpp>
|
||||||
|
|
||||||
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
#if !defined(TEST_MPF_50) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_CPP_DEC_FLOAT) && !defined(TEST_MPFR_50) && !defined(TEST_MPFR_6) && !defined(TEST_MPFR_15) && !defined(TEST_MPFR_17) && !defined(TEST_MPFR_30) && !defined(TEST_CPP_DEC_FLOAT_NO_ET) && !defined(TEST_LOGGED_ADAPTER) && !defined(TEST_CPP_BIN_FLOAT)
|
||||||
#define TEST_MPF_50
|
#define TEST_MPF_50
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
#include <boost/math/tools/test.hpp>
|
#include <boost/math/tools/test.hpp>
|
||||||
#include <boost/math/constants/constants.hpp>
|
#include <boost/math/constants/constants.hpp>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "libs/math/test/functor.hpp"
|
#include "functor.hpp"
|
||||||
|
|
||||||
#include "libs/math/test/handle_test_result.hpp"
|
#include "handle_test_result.hpp"
|
||||||
#include "../table_type.hpp"
|
#include "../table_type.hpp"
|
||||||
|
|
||||||
#ifndef SC_
|
#ifndef SC_
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ project : requirements
|
|||||||
<include>$(mpfi_path)
|
<include>$(mpfi_path)
|
||||||
<include>$(mpfi_path)/src
|
<include>$(mpfi_path)/src
|
||||||
<include>$(tommath_path)
|
<include>$(tommath_path)
|
||||||
<include>../../..
|
|
||||||
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
# We set these to make it easier to set up and test GMP and MPFR under Win32:
|
||||||
#<toolset>msvc:<runtime-link>static
|
#<toolset>msvc:<runtime-link>static
|
||||||
#<toolset>msvc:<link>static
|
#<toolset>msvc:<link>static
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include "libs/math/test/log1p_expm1_test.hpp"
|
#include "log1p_expm1_test.hpp"
|
||||||
|
|
||||||
//
|
//
|
||||||
// DESCRIPTION:
|
// DESCRIPTION:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include "libs/math/test/powm1_sqrtp1m1_test.hpp"
|
#include "powm1_sqrtp1m1_test.hpp"
|
||||||
|
|
||||||
//
|
//
|
||||||
// DESCRIPTION:
|
// DESCRIPTION:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#ifndef BOOST_MP_TABLE_TYPE
|
#ifndef BOOST_MP_TABLE_TYPE
|
||||||
#define BOOST_MP_TABLE_TYPE
|
#define BOOST_MP_TABLE_TYPE
|
||||||
|
|
||||||
#include <libs/math/test/table_type.hpp>
|
#include <table_type.hpp>
|
||||||
#include <boost/multiprecision/number.hpp>
|
#include <boost/multiprecision/number.hpp>
|
||||||
|
|
||||||
struct string_table_entry
|
struct string_table_entry
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_bessel_i.hpp"
|
#include "test_bessel_i.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_bessel_j.hpp"
|
#include "test_bessel_j.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include <boost/math/special_functions/bessel.hpp>
|
#include <boost/math/special_functions/bessel.hpp>
|
||||||
#include "libs/math/test/test_bessel_k.hpp"
|
#include "test_bessel_k.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_bessel_y.hpp"
|
#include "test_bessel_y.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_beta.hpp"
|
#include "test_beta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_binomial_coeff.hpp"
|
#include "test_binomial_coeff.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include <boost/math/special_functions/ellint_rf.hpp>
|
#include <boost/math/special_functions/ellint_rf.hpp>
|
||||||
#include "libs/math/test/test_carlson.hpp"
|
#include "test_carlson.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#define TEST2
|
#define TEST2
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_carlson.hpp"
|
#include "test_carlson.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#define TEST3
|
#define TEST3
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_carlson.hpp"
|
#include "test_carlson.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#define TEST4
|
#define TEST4
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_carlson.hpp"
|
#include "test_carlson.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_cbrt.hpp"
|
#include "test_cbrt.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_digamma.hpp"
|
#include "test_digamma.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ellint_1.hpp"
|
#include "test_ellint_1.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ellint_2.hpp"
|
#include "test_ellint_2.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ellint_3.hpp"
|
#include "test_ellint_3.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_erf.hpp"
|
#include "test_erf.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_expint.hpp"
|
#include "test_expint.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_gamma.hpp"
|
#include "test_gamma.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_hermite.hpp"
|
#include "test_hermite.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TEST_DATA 1
|
#define TEST_DATA 1
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta.hpp"
|
#include "test_ibeta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TEST_DATA 2
|
#define TEST_DATA 2
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta.hpp"
|
#include "test_ibeta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TEST_DATA 3
|
#define TEST_DATA 3
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta.hpp"
|
#include "test_ibeta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TEST_DATA 4
|
#define TEST_DATA 4
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta.hpp"
|
#include "test_ibeta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TEST_DATA 4
|
#define TEST_DATA 4
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta_inv.hpp"
|
#include "test_ibeta_inv.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#define FULL_TEST
|
#define FULL_TEST
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_ibeta_inv_ab.hpp"
|
#include "test_ibeta_inv_ab.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include "table_type.hpp"
|
#include "table_type.hpp"
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_igamma.hpp"
|
#include "test_igamma.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_igamma_inv.hpp"
|
#include "test_igamma_inv.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_igamma_inva.hpp"
|
#include "test_igamma_inva.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_laguerre.hpp"
|
#include "test_laguerre.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_legendre.hpp"
|
#include "test_legendre.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_tgamma_ratio.hpp"
|
#include "test_tgamma_ratio.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#define TEST_UDT
|
#define TEST_UDT
|
||||||
|
|
||||||
#include <boost/math/special_functions/math_fwd.hpp>
|
#include <boost/math/special_functions/math_fwd.hpp>
|
||||||
#include "libs/math/test/test_zeta.hpp"
|
#include "test_zeta.hpp"
|
||||||
|
|
||||||
void expected_results()
|
void expected_results()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <boost/multiprecision/complex128.hpp>
|
#include <boost/multiprecision/complex128.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_complex.hpp>
|
#include <boost/multiprecision/cpp_complex.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_complex.hpp>
|
#include <boost/multiprecision/cpp_complex.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
||||||
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
||||||
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
#ifndef _WIN64 // object file too large
|
#ifndef _WIN64 // object file too large
|
||||||
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
||||||
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
struct related_type<boost::multiprecision::number<boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent>, ET> >
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
using namespace boost::multiprecision;
|
using namespace boost::multiprecision;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
using namespace boost::multiprecision;
|
using namespace boost::multiprecision;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include <boost/multiprecision/cpp_bin_float.hpp>
|
#include <boost/multiprecision/cpp_bin_float.hpp>
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
template <unsigned Digits, boost::multiprecision::backends::digit_base_type DigitBase, class Allocator, class Exponent, Exponent MinExponent, Exponent MaxExponent, boost::multiprecision::expression_template_option ET>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <boost/multiprecision/mpc.hpp>
|
#include <boost/multiprecision/mpc.hpp>
|
||||||
#define TEST_MPC
|
#define TEST_MPC
|
||||||
|
|
||||||
#include "libs/multiprecision/test/test_arithmetic.hpp"
|
#include "test_arithmetic.hpp"
|
||||||
|
|
||||||
template <unsigned D>
|
template <unsigned D>
|
||||||
struct related_type<boost::multiprecision::number<boost::multiprecision::mpc_complex_backend<D> > >
|
struct related_type<boost::multiprecision::number<boost::multiprecision::mpc_complex_backend<D> > >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <boost/random/mersenne_twister.hpp>
|
#include <boost/random/mersenne_twister.hpp>
|
||||||
#include <boost/random/uniform_int.hpp>
|
#include <boost/random/uniform_int.hpp>
|
||||||
#include "libs/multiprecision/test/test.hpp"
|
#include "test.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ void test()
|
|||||||
std::ios_base::fixed | std::ios_base::showpos}};
|
std::ios_base::fixed | std::ios_base::showpos}};
|
||||||
|
|
||||||
std::array<std::array<const char*, 13 * 9>, 40> string_data = {{
|
std::array<std::array<const char*, 13 * 9>, 40> string_data = {{
|
||||||
#include "libs/multiprecision/test/string_data.ipp"
|
#include "string_data.ipp"
|
||||||
}};
|
}};
|
||||||
|
|
||||||
double num = 123456789.0;
|
double num = 123456789.0;
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ void test()
|
|||||||
std::ios_base::fixed | std::ios_base::showpos}};
|
std::ios_base::fixed | std::ios_base::showpos}};
|
||||||
|
|
||||||
std::array<std::array<const char*, 13 * 9>, 40> string_data = {{
|
std::array<std::array<const char*, 13 * 9>, 40> string_data = {{
|
||||||
#include "libs/multiprecision/test/string_data.ipp"
|
#include "string_data.ipp"
|
||||||
}};
|
}};
|
||||||
|
|
||||||
double num = 123456789.0;
|
double num = 123456789.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user