From: Aleksandar Kostovic Date: Mon, 29 Apr 2019 10:16:46 +0000 (+0200) Subject: Tried to make final assignemnt of the sqrt X-Git-Tag: ls180-24jan2020~1118 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2473cabb3c5243065c7277db5049b33fee026c43;p=ieee754fpu.git Tried to make final assignemnt of the sqrt --- diff --git a/src/add/fsqrt.py b/src/add/fsqrt.py index ad9f432e..852998f9 100644 --- a/src/add/fsqrt.py +++ b/src/add/fsqrt.py @@ -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: