Tables.gf8tab.fill.log: def of bend-osdev-gf@0.1.1.0 Import: import bend-osdev-gf@0.1.1.0/tables.bend as Tables Lines 27-33 of bend-osdev-gf@0.1.1.0/tables.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-gf@0.1.1.0/tables.bend&start_line=27&end_line=33 import Base import bend-osdev-gf@0.1.1.0/gf.bend as G # log[gen^i] = i for i from i0, n entries def gf8tab.fill.log(n: Nat, a: Array, +f: G.Gf8Field, +cur: U32, +i: U32) -> Array: match n: case 0n: a case 1n+k: gf8tab.fill.log(k, Array.set(U32, a, cur, i), f, G.Gf8.mul(f, G.Gf8.gen(f), cur), U32.add(i, 1)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8.gen https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8.mul https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8Field