comment TODO on __neg__ operation
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 7 Feb 2020 16:28:40 +0000 (16:28 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 7 Feb 2020 16:28:40 +0000 (16:28 +0000)
src/ieee754/part/partsig.py

index 4fb74507ea96fa2310415c0cf97abd52647d3e35..1eae4a140a44b823e4ceda3adcb590eecc4c5d4a 100644 (file)
@@ -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