From: Luke Kenneth Casson Leighton Date: Fri, 7 Feb 2020 16:28:40 +0000 (+0000) Subject: comment TODO on __neg__ operation X-Git-Tag: ls180-24jan2020~234 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04fbe1ac8dc8a21f0b01b34ccc6efaa3deaf9092;p=ieee754fpu.git comment TODO on __neg__ operation --- 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