projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b9f25
)
Revert order of operations in PartitionedSignal.implies()
author
Cesar Strauss
<cestrauss@gmail.com>
Sat, 23 Jan 2021 21:16:04 +0000
(18:16 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Sat, 23 Jan 2021 21:16:04 +0000
(18:16 -0300)
Now that all bitwise logic operations return PartitionedSignal, the
original order of operations will work.
src/ieee754/part/partsig.py
patch
|
blob
|
history
diff --git
a/src/ieee754/part/partsig.py
b/src/ieee754/part/partsig.py
index 5d96a27a7a22201c9b525577c08b1c7752793f2d..9e6e78b6ffc7965e72af7a1f4ea4a23405072740 100644
(file)
--- a/
src/ieee754/part/partsig.py
+++ b/
src/ieee754/part/partsig.py
@@
-336,4
+336,4
@@
class PartitionedSignal:
``1`` otherwise.
"""
# amazingly, this should actually work.
- return
conclusion | ~premise
+ return
~premise | conclusion