From 96f9db53957a094cca57a8ab1e738aa3d56992b5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Nov 2023 22:39:26 +0000 Subject: [PATCH] unify epsilon definition --- Math/Solver/Root/Bisection.php | 2 +- Math/Solver/Root/Illinois.php | 2 +- Math/Solver/Root/RegulaFalsi.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Math/Solver/Root/Bisection.php b/Math/Solver/Root/Bisection.php index 3b29b0a45..48a16a7fc 100644 --- a/Math/Solver/Root/Bisection.php +++ b/Math/Solver/Root/Bisection.php @@ -30,7 +30,7 @@ final class Bisection * @var float * @since 1.0.0 */ - public const EPSILON = 1e-6; + public const EPSILON = 4.88e-04; /** * Constructor. diff --git a/Math/Solver/Root/Illinois.php b/Math/Solver/Root/Illinois.php index 9f5ca9be9..d4b9bf71e 100644 --- a/Math/Solver/Root/Illinois.php +++ b/Math/Solver/Root/Illinois.php @@ -30,7 +30,7 @@ final class Illinois * @var float * @since 1.0.0 */ - public const EPSILON = 1e-6; + public const EPSILON = 4.88e-04; /** * Constructor. diff --git a/Math/Solver/Root/RegulaFalsi.php b/Math/Solver/Root/RegulaFalsi.php index bd9a794a9..a004a7ec1 100644 --- a/Math/Solver/Root/RegulaFalsi.php +++ b/Math/Solver/Root/RegulaFalsi.php @@ -30,7 +30,7 @@ final class RegulaFalsi * @var float * @since 1.0.0 */ - public const EPSILON = 1e-6; + public const EPSILON = 4.88e-04; /** * Constructor.