From 3d593bd46d0bfc3e38d81bf1bd88c48cf0d55524 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 13 Oct 2021 13:40:43 +0100 Subject: [PATCH] although it is a little less visually clear, removing the whitespace allows illustrating what is used and what is not used in the 5-6-6-6 example --- src/ieee754/part/layout_experiment.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ieee754/part/layout_experiment.py b/src/ieee754/part/layout_experiment.py index 4a18850e..3c9ab518 100644 --- a/src/ieee754/part/layout_experiment.py +++ b/src/ieee754/part/layout_experiment.py @@ -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, -- 2.30.2