HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehw-prim-0.6.3.2Haskell2010

HaskellWorks.Data.Branchless

  • 16 values
  • Packagehw-prim-0.6.3.2
  • Exports16
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceBranchless.hs
valueltWord8 :: Word8 -> Word8 -> Word8
#

Branchless less-than comparison

Return 1 if the first argument is less-than the second argument, otherwise return 0.

Example3 expressions
ltWord8 5 50ltWord8 4 51ltWord8 6 50
valueltWord16 :: Word16 -> Word16 -> Word16
#

Branchless less-than comparison

Return 1 if the first argument is less-than the second argument, otherwise return 0.

Example3 expressions
ltWord16 5 50ltWord16 4 51ltWord16 6 50
valueltWord32 :: Word32 -> Word32 -> Word32
#

Branchless less-than comparison

Return 1 if the first argument is less-than the second argument, otherwise return 0.

Example3 expressions
ltWord32 5 50ltWord32 4 51ltWord32 6 50
valueltWord64 :: Word64 -> Word64 -> Word64
#

Branchless less-than comparison

Return 1 if the first argument is less-than the second argument, otherwise return 0.

Example3 expressions
ltWord64 5 50ltWord64 4 51ltWord64 6 50
valueleWord8 :: Word8 -> Word8 -> Word8
#

Branchless less-than-or-equal-to comparison

Return 1 if the first argument is less-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
leWord8 5 51leWord8 4 51leWord8 6 50
valueleWord16 :: Word16 -> Word16 -> Word16
#

Branchless less-than-or-equal-to comparison

Return 1 if the first argument is less-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
leWord16 5 51leWord16 4 51leWord16 6 50
valueleWord32 :: Word32 -> Word32 -> Word32
#

Branchless less-than-or-equal-to comparison

Return 1 if the first argument is less-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
leWord32 5 51leWord32 4 51leWord32 6 50
valueleWord64 :: Word64 -> Word64 -> Word64
#

Branchless less-than-or-equal-to comparison

Return 1 if the first argument is less-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
leWord64 5 51leWord64 4 51leWord64 6 50
valuegtWord8 :: Word8 -> Word8 -> Word8
#

Branchless greater-than comparison

Return 1 if the first argument is greater-than the second argument, otherwise return 0.

Example3 expressions
gtWord8 5 50gtWord8 4 50gtWord8 6 51
valuegtWord16 :: Word16 -> Word16 -> Word16
#

Branchless greater-than comparison

Return 1 if the first argument is greater-than the second argument, otherwise return 0.

Example3 expressions
gtWord16 5 50gtWord16 4 50gtWord16 6 51
valuegtWord32 :: Word32 -> Word32 -> Word32
#

Branchless greater-than comparison

Return 1 if the first argument is greater-than the second argument, otherwise return 0.

Example3 expressions
gtWord32 5 50gtWord32 4 50gtWord32 6 51
valuegtWord64 :: Word64 -> Word64 -> Word64
#

Branchless greater-than comparison

Return 1 if the first argument is greater-than the second argument, otherwise return 0.

Example3 expressions
gtWord64 5 50gtWord64 4 50gtWord64 6 51
valuegeWord8 :: Word8 -> Word8 -> Word8
#

Branchless greater-than-or-equal-to comparison

Return 1 if the first argument is greater-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
geWord8 5 51geWord8 4 50geWord8 6 51
valuegeWord16 :: Word16 -> Word16 -> Word16
#

Branchless greater-than-or-equal-to comparison

Return 1 if the first argument is greater-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
geWord16 5 51geWord16 4 50geWord16 6 51
valuegeWord32 :: Word32 -> Word32 -> Word32
#

Branchless greater-than-or-equal-to comparison

Return 1 if the first argument is greater-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
geWord32 5 51geWord32 4 50geWord32 6 51
valuegeWord64 :: Word64 -> Word64 -> Word64
#

Branchless greater-than-or-equal-to comparison

Return 1 if the first argument is greater-than-or-equal-to the second argument, otherwise return 0.

Example3 expressions
geWord64 5 51geWord64 4 50geWord64 6 51