1 | // |
---|
2 | // Copyright (c) 2000-2002 |
---|
3 | // Joerg Walter, Mathias Koch |
---|
4 | // |
---|
5 | // Permission to use, copy, modify, distribute and sell this software |
---|
6 | // and its documentation for any purpose is hereby granted without fee, |
---|
7 | // provided that the above copyright notice appear in all copies and |
---|
8 | // that both that copyright notice and this permission notice appear |
---|
9 | // in supporting documentation. The authors make no representations |
---|
10 | // about the suitability of this software for any purpose. |
---|
11 | // It is provided "as is" without express or implied warranty. |
---|
12 | // |
---|
13 | // The authors gratefully acknowledge the support of |
---|
14 | // GeNeSys mbH & Co. KG in producing this work. |
---|
15 | // |
---|
16 | |
---|
17 | #include <boost/numeric/interval.hpp> |
---|
18 | #include <boost/numeric/interval/io.hpp> |
---|
19 | #include "../bench1/bench12.cpp" |
---|
20 | |
---|
21 | |
---|
22 | #ifdef USE_FLOAT |
---|
23 | template struct bench_2<boost::numeric::interval<float>, 3>; |
---|
24 | template struct bench_2<boost::numeric::interval<float>, 10>; |
---|
25 | template struct bench_2<boost::numeric::interval<float>, 30>; |
---|
26 | template struct bench_2<boost::numeric::interval<float>, 100>; |
---|
27 | #endif |
---|
28 | |
---|
29 | #ifdef USE_DOUBLE |
---|
30 | template struct bench_2<boost::numeric::interval<double>, 3>; |
---|
31 | template struct bench_2<boost::numeric::interval<double>, 10>; |
---|
32 | template struct bench_2<boost::numeric::interval<double>, 30>; |
---|
33 | template struct bench_2<boost::numeric::interval<double>, 100>; |
---|
34 | #endif |
---|
35 | |
---|
36 | #ifdef USE_BOOST_COMPLEX |
---|
37 | #ifdef USE_FLOAT |
---|
38 | template struct bench_2<boost::complex<boost::numeric::interval<float> >, 3>; |
---|
39 | template struct bench_2<boost::complex<boost::numeric::interval<float> >, 10>; |
---|
40 | template struct bench_2<boost::complex<boost::numeric::interval<float> >, 30>; |
---|
41 | template struct bench_2<boost::complex<boost::numeric::interval<float> >, 100>; |
---|
42 | #endif |
---|
43 | |
---|
44 | #ifdef USE_DOUBLE |
---|
45 | template struct bench_2<boost::complex<boost::numeric::interval<double> >, 3>; |
---|
46 | template struct bench_2<boost::complex<boost::numeric::interval<double> >, 10>; |
---|
47 | template struct bench_2<boost::complex<boost::numeric::interval<double> >, 30>; |
---|
48 | template struct bench_2<boost::complex<boost::numeric::interval<double> >, 100>; |
---|
49 | #endif |
---|
50 | #endif |
---|