From a4d3475ed520567b5d80810ff99144e8bf290292 Mon Sep 17 00:00:00 2001 From: DarkWarrior703 <56077342+DarkWarrior703@users.noreply.github.com> Date: Sat, 25 Apr 2020 16:30:52 +0300 Subject: [PATCH] Update sqrt_double.cpp --- math/sqrt_double.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/math/sqrt_double.cpp b/math/sqrt_double.cpp index 6d7641dcb..e3418bfc3 100644 --- a/math/sqrt_double.cpp +++ b/math/sqrt_double.cpp @@ -12,6 +12,7 @@ double Sqrt(double x) { between 1e-7 and 1e-12. double epsilon = 1e-12; */ + double epsilon = 1e-12; while ( l <= r ) { double mid = (l + r) / 2; if ( mid * mid > x ) {