From: michael Date: Mon, 17 May 2021 12:42:02 +0000 (+0200) Subject: Improved the parameters of the root finding algorithm X-Git-Tag: V9_7_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2c6271b711c3ad9e757820a8ede29952b5e070f;p=tools%2Fsolverlab.git Improved the parameters of the root finding algorithm --- diff --git a/CoreFlows/Models/src/utilitaire_algebre.cxx b/CoreFlows/Models/src/utilitaire_algebre.cxx index 6de9f4c..ddf6e8d 100755 --- a/CoreFlows/Models/src/utilitaire_algebre.cxx +++ b/CoreFlows/Models/src/utilitaire_algebre.cxx @@ -1,9 +1,11 @@ #include "utilitaire_algebre.h" #include +#include + using namespace std; -roots_polynoms::roots_polynoms(): smalno(1.2e-38), infin(3.4e38), - eta(2.22e-16), base(2) +roots_polynoms::roots_polynoms(): smalno(DBL_MIN), infin(DBL_MAX), //Parameters associated to the type double. + eta(DBL_EPSILON), base(FLT_RADIX) { }