From 18ab7b40bba5992ace634de8eeab86330f945002 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 10 Feb 2020 20:39:54 +0000 Subject: [PATCH] document partsig operators --- src/ieee754/part/partsig.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index 157ea35f..5977bca6 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -273,6 +273,7 @@ class PartitionedSignal: ``1`` if an odd number of bits are set, ``0`` if an even number of bits are set. """ + # XXXX TODO: return partition-mask-sized set of bits raise NotImplementedError return Operator("r^", [self]) @@ -285,4 +286,5 @@ class PartitionedSignal: ``0`` if ``premise`` is true and ``conclusion`` is not, ``1`` otherwise. """ + # amazingly, this should actually work. return ~premise | conclusion -- 2.30.2