def Gf128.is_eq

bend-osdev-gf@0.1.1.0 · gf128.bend:44

import bend-osdev-gf@0.1.1.0/gf128.bend as Gf128
import Base

44def Gf128.is_eq(a: Gf128, b: Gf128) -> Bool:
45  match a b:
46    case Gf128{a0, a1, a2, a3} Gf128{b0, b1, b2, b3}:
47      Bool.and(U32.is_eq(a0, b0), Bool.and(U32.is_eq(a1, b1), Bool.and(U32.is_eq(a2, b2), U32.is_eq(a3, b3))))

Uses (4)

Used by (0)

No other definition uses this definition.