add comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Feb 2020 13:16:32 +0000 (13:16 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Feb 2020 13:16:32 +0000 (13:16 +0000)
src/ieee754/part/partsig.py

index cef3fed6b2654b25d133d188a25d97480605c40f..7868cf71587054870b3f94c912594043ff12135c 100644 (file)
@@ -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):