def majority

bend-collections@1.0.0.0 · src/crypto/sha/packed/core.bend:37

import bend-collections@1.0.0.0/src/crypto/sha/packed/core.bend as Core
import Base

37def majority(+x: U32, +y: U32, +z: U32) -> U32:
38  ((x .&. y) .^. (x .&. z) .^. (y .&. z) : U32)

Uses (3)

Used by (1)