projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a011e0
)
remove zeroing bugfix correction, not needed any more
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 18 Feb 2019 17:42:59 +0000
(17:42 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 18 Feb 2019 17:42:59 +0000
(17:42 +0000)
src/add/fpbase.py
patch
|
blob
|
history
diff --git
a/src/add/fpbase.py
b/src/add/fpbase.py
index 2d2fc29d78955a6d36a804d55ae949d327227fc7..48bfb8221558f09e817d5a20c7da844a655fd6d3 100644
(file)
--- a/
src/add/fpbase.py
+++ b/
src/add/fpbase.py
@@
-309,9
+309,6
@@
class FPBase:
# denormalised, correct exponent to zero
with m.If(z.is_denormalised()):
m.d.sync += z.e.eq(z.N127)
- # FIX SIGN BUG: -a + a = +0.
- with m.If((z.e == z.N126) & (z.m[0:] == 0)):
- m.d.sync += z.s.eq(0)
def pack(self, m, z, next_state):
""" packs the result into the output (detects overflow->Inf)