From 5f99b40853faf59d692906ef626abe733d2a8ad7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 8 Feb 2020 13:16:32 +0000 Subject: [PATCH] add comments --- src/ieee754/part/partsig.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index cef3fed6..7868cf71 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -86,6 +86,9 @@ class PartitionedSignal: # binary ops that need partitioning + # TODO: detect if the 2nd operand is a Const, a Signal or a + # PartitionedSignal. if it's a Const or a Signal, a global shift + # can occur. if it's a PartitionedSignal, that's much more interesting. def __lshift__(self, other): return Operator("<<", [self, other]) def __rlshift__(self, other): -- 2.30.2