File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 302302 (11111111)
303303] bits_tmpl
304304
305+ % Section 5.4.1 worked example 1: 17-digit input; the two trailing digits
306+ % select terminator 1111111110.
307+ (84613168549316542) (debugbits) [
308+ (0001) % numeric mode indicator
309+ (1101001110) % "846" = 846 (10 bits)
310+ (0010000011) % "131" = 131
311+ (1010101101) % "685" = 685
312+ (0111101101) % "493" = 493
313+ (0010100101) % "165" = 165
314+ (0000101010) % "42" = 42 (two trailing digits)
315+ (1111111110) % terminator (two trailing digits)
316+ ] bits_tmpl
317+
318+ % Section 5.4.1 worked example 2: 13-digit input; the one trailing digit
319+ % selects terminator 1111111101.
320+ (0019536472255) (debugbits) [
321+ (0001) % numeric mode indicator
322+ (0000000001) % "001" = 1
323+ (1110111001) % "953" = 953
324+ (1010000111) % "647" = 647
325+ (0011100001) % "225" = 225
326+ (0000000101) % "5" = 5 (one trailing digit)
327+ (1111111101) % terminator (one trailing digit)
328+ ] bits_tmpl
329+
305330% DIS Annex K.1 worked example: K.1.0 input = K.1.1 bit stream (54 bits).
306331% Numeric mode triggered by 10-digit run (above the 8-digit threshold).
307332(1234567890) (debugbits) [
You can’t perform that action at this time.
0 commit comments