andre-dietrich/elm-conditional/1.0.0

Conditional.Bitwise

Library for Conditional bitwise operations.

Basic Operations

andIf : Bool -> Int -> Int -> Int

Conditional bitwise AND

orIf : Bool -> Int -> Int -> Int

Conditional bitwise OR

xorIf : Bool -> Int -> Int -> Int

Conditional bitwise XOR

complementIf : Bool -> Int -> Int

Conditional bitwise complement

Bit Shifts

shiftLeftByIf : Bool -> Int -> Int -> Int

Conditional bitwise shiftLeftBy

shiftRightByIf : Bool -> Int -> Int -> Int

Conditional bitwise shiftRightBy

shiftRightZfByIf : Bool -> Int -> Int -> Int

Conditional bitwise shiftRightZfBy