def equal_bit
import stelliferous@0.0.2.0/math_compare.bend as MathCompareimport Base
27def equal_bit(+left: U32,+right: U32) -> U32:
28 U32.or(U32.xor(1,nonzero(U32.xor(left,right))),U32.xor(1,nonzero(U32.and(U32.or(left,right),2147483647))))
import stelliferous@0.0.2.0/math_compare.bend as MathCompareimport Base
27def equal_bit(+left: U32,+right: U32) -> U32:
28 U32.or(U32.xor(1,nonzero(U32.xor(left,right))),U32.xor(1,nonzero(U32.and(U32.or(left,right),2147483647))))