projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cee09b
)
comment TODO on __neg__ operation
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 7 Feb 2020 16:28:40 +0000
(16:28 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 7 Feb 2020 16:28:40 +0000
(16:28 +0000)
src/ieee754/part/partsig.py
patch
|
blob
|
history
diff --git
a/src/ieee754/part/partsig.py
b/src/ieee754/part/partsig.py
index 4fb74507ea96fa2310415c0cf97abd52647d3e35..1eae4a140a44b823e4ceda3adcb590eecc4c5d4a 100644
(file)
--- a/
src/ieee754/part/partsig.py
+++ b/
src/ieee754/part/partsig.py
@@
-61,6
+61,7
@@
class PartitionedSignal:
# unary ops that require partitioning
def __neg__(self):
+ # TODO use PartitionedAdder for this, with a "neg" mode?
return Operator("-", [self])
# binary ops that don't require partitioning