although it is a little less visually clear, removing the whitespace
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 13 Oct 2021 12:40:43 +0000 (13:40 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 13 Oct 2021 12:40:43 +0000 (13:40 +0100)
allows illustrating what is used and what is not used in the 5-6-6-6
example

src/ieee754/part/layout_experiment.py

index 4a18850e47ed50e49da92a642086c6a9428ec8ed..3c9ab51806501ec5c9ef02fcc951dd1435a91bad 100644 (file)
@@ -212,13 +212,13 @@ if __name__ == '__main__':
     # specify that the Vector Element lengths are to be *different* at
     # each of the elwidths.
     # combined with vec_el_counts we have:
-    # elwidth=0b00 1x 5-bit     | <--  unused               -->....5 |
-    # elwidth=0b01 1x 6-bit     | <--  unused              -->.....6 |
-    # elwidth=0b10 2x 12-bit    | unused   .....6 | unused    .....6 |
-    # elwidth=0b11 3x 24-bit    | .....6 | .....6 |  .....6 | .....6 |
-    # expected partitions      (^)       ^        ^         ^^      (^)
-    # to be at these points:   (|)       |        |         ||      (|)
-    #                          (24)     18       12         65      (0)
+    # elwidth=0b00 1x 5-bit     |<----unused----------->....5|
+    # elwidth=0b01 1x 6-bit     |<----unused---------->.....6|
+    # elwidth=0b10 2x 12-bit    |unused>.....6|unused->.....6|
+    # elwidth=0b11 3x 24-bit    |.....6|.....6| .....6|.....6|
+    # expected partitions      (^)     ^      ^       ^^    (^)
+    # to be at these points:   (|)     |      |       ||    (|)
+    #                          (24)   18     12       65    (0)
     widths_at_elwidth = {
         0: 5,
         1: 6,