From 04fbe1ac8dc8a21f0b01b34ccc6efaa3deaf9092 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 7 Feb 2020 16:28:40 +0000 Subject: [PATCH] comment TODO on __neg__ operation --- src/ieee754/part/partsig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index 4fb74507..1eae4a14 100644 --- 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 -- 2.30.2