Tried to make final assignemnt of the sqrt
authorAleksandar Kostovic <alexandar.kostovic@gmail.com>
Mon, 29 Apr 2019 10:16:46 +0000 (12:16 +0200)
committerAleksandar Kostovic <alexandar.kostovic@gmail.com>
Mon, 29 Apr 2019 10:16:46 +0000 (12:16 +0200)
src/add/fsqrt.py

index ad9f432e31b17b76f6d3479cf9e2012d60b26da3..852998f93e7e69fc8496c69690b2ca71c453d379 100644 (file)
@@ -107,6 +107,9 @@ if __name__ == '__main__':
     s, e, m = decode_fp32(xbits)
     print(s, e, m, hex(m))
 
+    sq_test = x.sqrt()
+    e, m = decode_fp32(sq_test)
+    print(main(e, m))
 """
 
 Notes: