]>
Commit | Line | Data |
---|---|---|
1 | [/ | |
2 | Copyright 2015 Paul A. Bristow. | |
3 | Copyright 2015 John Maddock. | |
4 | Distributed under the Boost Software License, Version 1.0. | |
5 | (See accompanying file LICENSE_1_0.txt or copy at | |
6 | http://www.boost.org/LICENSE_1_0.txt). | |
7 | ] | |
8 | ||
9 | ||
10 | Program I:\modular-boost\libs\math\example\root_n_finding_algorithms.cpp, | |
11 | Microsoft Visual C++ version 12.0, Dinkumware standard library version 610, Win32 | |
12 | Compiled in optimise mode. | |
13 | ||
14 | Fraction of maximum possible bits of accuracy required is 0.75 | |
15 | [table:cbrt_5 Info for float, double, long double and cpp_bin_float_50 | |
16 | [[type name] [max_digits10] [binary digits] [required digits]] | |
17 | [[float][9][24][18]] | |
18 | [[double][17][53][39]] | |
19 | [[long double][17][53][39]] | |
20 | ] [/table cbrt_5] | |
21 | ||
22 | [table:cbrt_4 Cube root(28) for float, double, long double and cpp_bin_float_50 | |
23 | [[][float][][][] [][double][][][] [][long d][][][] [][cpp50][][]] | |
24 | [[Algo ][Its][Times][Norm][Dis][ ][Its][Times][Norm][Dis][ ][Its][Times][Norm][Dis][ ]] | |
25 | [[cbrt ][ 0][ 156][1.00][ 0][ ][ 0][ 156][1.00][ 1][ ][ 0][ 156][1.00][ 1][ ]] | |
26 | [[TOMS748 ][ 8][ 781][5.01][ -1][ ][ 11][ 1093][7.01][ 2][ ][ 11][ 1093][7.01][ 2][ ]] | |
27 | [[Newton ][ 6][ 1093][7.01][ 0][ ][ 7][ 1093][7.01][ 0][ ][ 7][ 937][6.01][ 0][ ]] | |
28 | [[Halley ][ 4][ 1093][7.01][ 0][ ][ 4][ 937][6.01][ 0][ ][ 4][ 937][6.01][ 0][ ]] | |
29 | [[Schr'''ö'''der][ 5][ 1093][7.01][ 0][ ][ 5][ 1093][7.01][ 0][ ][ 5][ 1093][7.01][ 0][ ]] | |
30 | ] [/end of table cbrt_4] |