From: Aleksandar Kostovic Date: Sat, 27 Apr 2019 07:32:50 +0000 (+0200) Subject: Very simple function for sqrt X-Git-Tag: ls180-24jan2020~1194 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bab23c88c55f5cee0dc24478ca5258fb69af6e36;p=ieee754fpu.git Very simple function for sqrt --- diff --git a/src/add/fsqrt.py b/src/add/fsqrt.py index d2fe0b31..a2065ee5 100644 --- a/src/add/fsqrt.py +++ b/src/add/fsqrt.py @@ -1,3 +1,10 @@ +def sqrt(num): + + num ** (1/2) + + return num + + """