From c2391ab3040f0ce641eb77b2fe5a693b9f6e2444 Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Fri, 2 Mar 2012 13:18:24 -0500 Subject: did something --- Q1 | Bin 10160 -> 0 bytes mysqrt.cpp | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100755 Q1 diff --git a/Q1 b/Q1 deleted file mode 100755 index 5691942..0000000 Binary files a/Q1 and /dev/null differ diff --git a/mysqrt.cpp b/mysqrt.cpp index 29fedf2..088fdde 100644 --- a/mysqrt.cpp +++ b/mysqrt.cpp @@ -6,7 +6,7 @@ double mysqrt(double x) { bool goodenough = false; double guess; - double last = x / 5.0; + double last = 0.0; if (x <= 0) return x; @@ -19,3 +19,4 @@ double mysqrt(double x) } return guess; } + -- cgit v1.2.3-54-g00ecf