Fields.AcpiF.bit: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/fields.bend as Fields Lines 29-31 of bend-osdev-acpi@0.1.1.0/fields.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/fields.bend&start_line=29&end_line=31 import Base # bit k of a word def AcpiF.bit(+v: U32, k: Nat) -> Bool: U32.is_eq(U32.and(U32.shrn(v, k), 1), 1) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn