Gfm.Gfm.inv: def of bend-osdev-gf@0.1.1.0 Import: import bend-osdev-gf@0.1.1.0/gfm.bend as Gfm Lines 97-99 of bend-osdev-gf@0.1.1.0/gfm.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-gf@0.1.1.0/gfm.bend&start_line=97&end_line=99 import Base # a^-1 = a^(2^m - 2); the inverse of 0 is 0 def Gfm.inv(+f: GfmField, +a: U32) -> U32: Gfm.pow(f, a, U32.sub(Gfm.mask(f), 1)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gfm.bend&name=Gfm.mask https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gfm.bend&name=Gfm.pow https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gfm.bend&name=GfmField