diff options
author | Michael Abed <michaelabed@gmail.com> | 2012-03-02 13:18:24 -0500 |
---|---|---|
committer | Michael Abed <michaelabed@gmail.com> | 2012-03-02 13:18:24 -0500 |
commit | c2391ab3040f0ce641eb77b2fe5a693b9f6e2444 (patch) | |
tree | f1c1a06008eb10357047894060ae6a162e29c050 | |
parent | 161b8c1662b605996167adab67018213e0a7b793 (diff) | |
download | ec327-lab2-c2391ab3040f0ce641eb77b2fe5a693b9f6e2444.tar.gz ec327-lab2-c2391ab3040f0ce641eb77b2fe5a693b9f6e2444.tar.bz2 ec327-lab2-c2391ab3040f0ce641eb77b2fe5a693b9f6e2444.zip |
did something
-rwxr-xr-x | Q1 | bin | 10160 -> 0 bytes | |||
-rw-r--r-- | mysqrt.cpp | 3 |
2 files changed, 2 insertions, 1 deletions
Binary files differ @@ -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; } + |