Gf.Gf8.pow: def of bend-osdev-gf@0.1.1.0 Import: import bend-osdev-gf@0.1.1.0/gf.bend as Gf Lines 138-144 of bend-osdev-gf@0.1.1.0/gf.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&start_line=138&end_line=144 import Base # a^n, with a^0 = 1 (also for a = 0) def Gf8.pow(+f: Gf8Field, +a: U32, n: Nat) -> U32: match n: case 0n: 1 case 1n+k: Gf8.mul(f, a, Gf8.pow(f, a, k)) Uses (4): 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=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