[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/brent 335316f 07/11: Rewrite 'static constexpr'
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/brent 335316f 07/11: Rewrite 'static constexpr' in branch as in master |
Date: |
Tue, 22 Jun 2021 16:54:05 -0400 (EDT) |
branch: odd/brent
commit 335316f3873085255ff0fef9146ca04862b5ca65
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Rewrite 'static constexpr' in branch as in master
---
zero.hpp | 4 ++--
zero2.hpp | 2 +-
zero3.hpp | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/zero.hpp b/zero.hpp
index 36eea3e..bf8c423 100644
--- a/zero.hpp
+++ b/zero.hpp
@@ -273,7 +273,7 @@ root_type decimal_root
,std::ostream& os_trace = null_stream()
)
{
- static constexpr double epsilon {std::numeric_limits<double>::epsilon()};
+ constexpr double epsilon {std::numeric_limits<double>::epsilon()};
round_to<double> const round_dec {decimals, r_to_nearest};
@@ -504,7 +504,7 @@ double brent_zero
,FunctionalType& f
)
{
- static constexpr double epsilon {std::numeric_limits<double>::epsilon()};
+ constexpr double epsilon {std::numeric_limits<double>::epsilon()};
interpolation_technique technique {interpolate_initialization};
std::cout.precision(21);
diff --git a/zero2.hpp b/zero2.hpp
index cd21477..181b29d 100644
--- a/zero2.hpp
+++ b/zero2.hpp
@@ -57,7 +57,7 @@ double brent
,FunctionalType& f
)
{
- static constexpr double epsilon {std::numeric_limits<double>::epsilon()};
+ constexpr double epsilon {std::numeric_limits<double>::epsilon()};
interpolation_technique technique {interpolate_initialization};
std::cout.precision(21);
diff --git a/zero3.hpp b/zero3.hpp
index 9e11b1c..9590322 100644
--- a/zero3.hpp
+++ b/zero3.hpp
@@ -47,7 +47,7 @@ double chand
,FunctionalType& f
)
{
- static constexpr double epsilon {std::numeric_limits<double>::epsilon()};
+ constexpr double epsilon {std::numeric_limits<double>::epsilon()};
interpolation_technique technique {interpolate_initialization};
std::cout.precision(21);
- [lmi-commits] [lmi] odd/brent updated (e2b9e33 -> 662390c), Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 682f2ac 01/11: Relocate a function template, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent e83e0c6 04/11: Suppress suppression of secant technique, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 37cf014 08/11: Define a macro to choose IQI criterion, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent b77190e 02/11: Print a trace of all lmi solves, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent abbcf94 06/11: Remove a few stray commented-out lines, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent b07c9d3 03/11: Experimentally suppress secant technique, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 083aae0 05/11: Remove an obsolete idea, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 117a974 09/11: Suppress detailed IQI comparison for the moment, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 335316f 07/11: Rewrite 'static constexpr' in branch as in master,
Greg Chicares <=
- [lmi-commits] [lmi] odd/brent 662390c 11/11: Test Brent's method with Chandrupatla's IQI criterion, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent a007bd6 10/11: Document a pessimization, Greg Chicares, 2021/06/22