projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7541ca9
)
add comment
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 30 Apr 2019 01:59:02 +0000
(
02:59
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 30 Apr 2019 01:59:02 +0000
(
02:59
+0100)
src/add/fsqrt.py
patch
|
blob
|
history
diff --git
a/src/add/fsqrt.py
b/src/add/fsqrt.py
index a87af61db4ded516df1f93d6cb3af933d6318af3..e0696ebcdbdce37e8df41f9dec58b42f620b5036 100644
(file)
--- a/
src/add/fsqrt.py
+++ b/
src/add/fsqrt.py
@@
-22,7
+22,7
@@
def sqrtsimple(num):
def sqrt(num):
D = num # D is input (from num)
- Q = 0
+ Q = 0
# quotient
R = 0 # remainder
for i in range(64, -1, -1): # negative ranges are weird...