Crc.r64.bits: def of bend-osdev-crc@0.1.0.0 Import: import bend-osdev-crc@0.1.0.0/crc.bend as Crc Lines 131-136 of bend-osdev-crc@0.1.0.0/crc.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crc@0.1.0.0/crc.bend&start_line=131&end_line=136 import Base import bend-osdev-word64@0.1.0.0/word64.bend as W def r64.bits(n: Nat, +poly: W.W64, +c: W.W64) -> W.W64: match n: case 0n: c case 1n+p: r64.bits(p, poly, r64.pick(U32.is_eq(U32.and(W.W64.lo(c), 1), 1), poly, c)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-osdev-crc@0.1.0.0/crc.bend&name=r64.pick https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64.lo