Bugfix: empty echo statement
This commit is contained in:
parent
33fbf7fd03
commit
c5d8a5c1da
5 changed files with 19 additions and 23 deletions
|
|
@ -97,7 +97,7 @@ proc sqrt*(z: TComplex): TComplex =
|
|||
w = sqrt(y) * sqrt(0.5 * (r + sqrt(1.0 + r * r)))
|
||||
if z.re >= 0.0:
|
||||
result.re = w
|
||||
result.im = z.im / (w * 2)
|
||||
result.im = z.im / (w * 2.0)
|
||||
else:
|
||||
if z.im >= 0.0: result.im = w
|
||||
else: result.im = -w
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue