mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Fix inspect issues under reporting/
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
// Use, modification and distribution are subject to 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)
|
||||
//
|
||||
// We deliberately include some Unicode characters:
|
||||
//
|
||||
// boost-no-inspect
|
||||
//
|
||||
#include <iostream>
|
||||
#include <boost/math/tools/ulps_plot.hpp>
|
||||
#include <boost/core/demangle.hpp>
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
// Use, modification and distribution are subject to 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)
|
||||
//
|
||||
// We deliberately include some Unicode characters:
|
||||
//
|
||||
// boost-no-inspect
|
||||
//
|
||||
#include <iostream>
|
||||
#include <boost/math/tools/ulps_plot.hpp>
|
||||
#include <boost/core/demangle.hpp>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// (C) Copyright Evan Miller 2020.
|
||||
// Use, modification and distribution are subject to 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)
|
||||
|
||||
#include <iostream>
|
||||
#include <boost/math/tools/ulps_plot.hpp>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// (C) Copyright Evan Miller 2020.
|
||||
// Use, modification and distribution are subject to 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)
|
||||
|
||||
#include <iostream>
|
||||
#include <boost/math/tools/ulps_plot.hpp>
|
||||
|
||||
@@ -22,7 +22,7 @@ int main()
|
||||
using boost::math::rsqrt;
|
||||
return rsqrt(x);
|
||||
};
|
||||
auto plot03 = ulps_plot<decltype(f), PreciseReal, CoarseReal>(f, std::numeric_limits<CoarseReal>::min(), CoarseReal(100), samples);
|
||||
auto plot03 = ulps_plot<decltype(f), PreciseReal, CoarseReal>(f, (std::numeric_limits<CoarseReal>::min)(), CoarseReal(100), samples);
|
||||
plot03.width(width);
|
||||
std::string title = "rsqrt ULPs plot at quad precision";
|
||||
plot03.title(title);
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
// (C) Copyright Nick Thompson 2020.
|
||||
// Use, modification and distribution are subject to 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)
|
||||
|
||||
#include <vector>
|
||||
#include <random>
|
||||
#include <benchmark/benchmark.h>
|
||||
@@ -54,4 +59,4 @@ BENCHMARK_TEMPLATE(ChebyshevClenshaw, double)->RangeMultiplier(2)->Range(1<<1, 1
|
||||
|
||||
|
||||
|
||||
BENCHMARK_MAIN();
|
||||
BENCHMARK_MAIN();
|
||||
|
||||
1
reporting/performance/doc/boost-no-inspect
Normal file
1
reporting/performance/doc/boost-no-inspect
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -67,4 +67,4 @@ iterative_fast/2097152 19627331 ns 19510132 ns 36
|
||||
iterative_fast/4194304 42351871 ns 42240620 ns 17
|
||||
iterative_fast_BigO 0.46 NlgN 0.45 NlgN
|
||||
iterative_fast_RMS 5 % 5 %
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user