a = 14 (slider from 0 to 15, step 1)
b = 12 (slider from 0 to 15, step 1)
a3: floor(a / 8.0)
a2: floor((a - 8.0 * a3) / 4.0)
a1: floor((a - 8.0 * a3 - 4.0 * a2) / 2.0)
a0: a - 8.0 * a3 - 4.0 * a2 - 2.0 * a1
b3: floor(b / 8.0)
b2: floor((b - 8.0 * b3) / 4.0)
b1: floor((b - 8.0 * b3 - 4.0 * b2) / 2.0)
b0: b - 8.0 * b3 - 4.0 * b2 - 2.0 * b1
Liste1: {a0, a1, a2, a3}
Liste2 = Sequence(Text[Element[Liste1, 5.0 - i], (1.65 + i * 0.5, 6.0)], i, 1.0, 4.0)
Liste3: {b0, b1, b2, b3}
Liste4 = Sequence(Text[Element[Liste3, 5.0 - i], (5.0 + 0.5 * i, 6.0)], i, 1.0, 4.0)
A = (2, 5.76)
B = (7.22, 5.76)
c = Segment(A, B)
e00: a0 * b3
e01: a1 * b3
e02: a2 * b3
e03: a3 * b3
e10: a0 * b2
e11: a1 * b2
e12: a2 * b2
e13: a3 * b2
e20: a0 * b1
e21: a1 * b1
e22: a2 * b1
e23: a3 * b1
e30: a0 * b0
e31: a1 * b0
e32: a2 * b0
e33: a3 * b0
Liste5: {e00, e01, e02, e03}
Liste6: {e10, e11, e12, e13}
Liste7: {e20, e21, e22, e23}
Liste8: {e30, e31, e32, e33}
Liste9 = Sequence(Text[Element[Liste5, 5.0 - i], (1.65 + i * 0.5, 5.0)], i, 1.0, 4.0)
Liste10 = Sequence(Text[Element[Liste6, 5.0 - i], (2.15 + i * 0.5, 4.5)], i, 1.0, 4.0)
Liste11 = Sequence(Text[Element[Liste7, 5.0 - i], (2.65 + i * 0.5, 4.0)], i, 1.0, 4.0)
Liste12 = Sequence(Text[Element[Liste8, 5.0 - i], (3.15 + i * 0.5, 3.5)], i, 1.0, 4.0)
C = (2, 3.18)
D = (5.78, 3.18)
d = Segment(C, D)
z0: e30
z2: e32 + e21 + e10
z3: e33 + e22 + e11 + e00
z4: e23 + e12 + e01
z5: e13 + e02
z6: e03
z1: e31 + e20
s0: z0
s1: z1 - floor(z1 / 2.0)
p: a * b
p7: floor(p / 128.0)
p6: floor((p - 128.0 * p7) / 64.0)
p5: floor((p - 128.0 * p7 - 64.0 * p6) / 32.0)
p4: floor((p - p7 * 128.0 - p6 * 64.0 - p5 * 32.0) / 16.0)
p3: floor((p - p7 * 128.0 - p6 * 64.0 - p5 * 32.0 - p4 * 16.0) / 8.0)
p2: floor((p - p7 * 128.0 - p6 * 64.0 - p5 * 32.0 - p4 * 16.0 - p3 * 8.0) / 4.0)
p1: floor((p - p7 * 128.0 - p6 * 64.0 - p5 * 32.0 - p4 * 16.0 - p3 * 8.0 - p2 * 4.0) / 2.0)
p0: p - p7 * 128.0 - p6 * 64.0 - p5 * 32.0 - p4 * 16.0 - p3 * 8.0 - p2 * 4.0 - p1 * 2.0
Liste13: {p0, p1, p2, p3, p4, p5, p6, p7}
Liste14 = Sequence(Text[Element[Liste13, 9.0 - i], (1.15 + i * 0.5, 2.5)], i, 1.0, 8.0)
Text1: a + " . " + b + " = " + p