From: Aleksandar Kostovic Date: Sun, 17 Feb 2019 15:40:24 +0000 (+0100) Subject: Added comment to explain a case X-Git-Tag: ls180-24jan2020~1920 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee15ea9d3218838e9c2fd932317838118d42a883;p=ieee754fpu.git Added comment to explain a case --- diff --git a/src/add/fmul.py b/src/add/fmul.py index ba24e078..ad57a9ef 100644 --- a/src/add/fmul.py +++ b/src/add/fmul.py @@ -80,6 +80,7 @@ class FPMUL(FPBase): with m.If(a.is_zero()): m.next += "put_z" m.d.sync += z.nan(1) + #if a is zero return zero with m.Elif(a.is_zero()): m.next += "put_z" m.d.sync += z.zero(0)