From: Luke Kenneth Casson Leighton Date: Thu, 30 Jan 2020 13:57:46 +0000 (+0000) Subject: add comments X-Git-Tag: ls180-24jan2020~306 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b3e622e9a3628e7ec08a67658a00829ab08deb3;p=ieee754fpu.git add comments --- diff --git a/src/ieee754/part/test/test_partsig.py b/src/ieee754/part/test/test_partsig.py index 5e003c68..aaf0dcbe 100644 --- a/src/ieee754/part/test/test_partsig.py +++ b/src/ieee754/part/test/test_partsig.py @@ -99,9 +99,11 @@ class TestPartitionPoints(unittest.TestCase): v |= 0xf << (i*4) mask_list.append(v) y = 0 + # do the partitioned tests for i, mask in enumerate(mask_list): if (a & mask) == (b & mask): y |= maskbit_list[i] + # check the result outval = (yield module.eq_output) msg = f"{msg_prefix}: 0x{a:X} + 0x{b:X}" + \ f" => 0x{y:X} != 0x{outval:X}, masklist %s"