diff --git a/hands-on_dlang.md b/hands-on_dlang.md index 97f1c44..baeb8d9 100644 --- a/hands-on_dlang.md +++ b/hands-on_dlang.md @@ -1394,11 +1394,11 @@ import std.stdio : writeln; auto sqrt(T)(T x) { enum GoodEnough = 0.01; import std.math : abs; - T z = x*x, old = 0; + T z = x * x, old = 0; int iter; while (abs(z - old) > GoodEnough) { old = z; - z -= ((z*z)-x) / (2*z); + z -= ((z * z) - x) / (2 * z); } return z;