| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HaskellWorks.Data.Branchless
Synopsis
- ltWord8 :: Word8 -> Word8 -> Word8
- ltWord16 :: Word16 -> Word16 -> Word16
- ltWord32 :: Word32 -> Word32 -> Word32
- ltWord64 :: Word64 -> Word64 -> Word64
- leWord8 :: Word8 -> Word8 -> Word8
- leWord16 :: Word16 -> Word16 -> Word16
- leWord32 :: Word32 -> Word32 -> Word32
- leWord64 :: Word64 -> Word64 -> Word64
- gtWord8 :: Word8 -> Word8 -> Word8
- gtWord16 :: Word16 -> Word16 -> Word16
- gtWord32 :: Word32 -> Word32 -> Word32
- gtWord64 :: Word64 -> Word64 -> Word64
- geWord8 :: Word8 -> Word8 -> Word8
- geWord16 :: Word16 -> Word16 -> Word16
- geWord32 :: Word32 -> Word32 -> Word32
- geWord64 :: Word64 -> Word64 -> Word64
Documentation
ltWord8 :: Word8 -> Word8 -> Word8 Source #
Branchless less-than comparison
Return 1 if the first argument is less-than the second argument, otherwise return 0.
>>>ltWord8 5 50>>>ltWord8 4 51>>>ltWord8 6 50
ltWord16 :: Word16 -> Word16 -> Word16 Source #
Branchless less-than comparison
Return 1 if the first argument is less-than the second argument, otherwise return 0.
>>>ltWord16 5 50>>>ltWord16 4 51>>>ltWord16 6 50
ltWord32 :: Word32 -> Word32 -> Word32 Source #
Branchless less-than comparison
Return 1 if the first argument is less-than the second argument, otherwise return 0.
>>>ltWord32 5 50>>>ltWord32 4 51>>>ltWord32 6 50
ltWord64 :: Word64 -> Word64 -> Word64 Source #
Branchless less-than comparison
Return 1 if the first argument is less-than the second argument, otherwise return 0.
>>>ltWord64 5 50>>>ltWord64 4 51>>>ltWord64 6 50
leWord8 :: Word8 -> Word8 -> Word8 Source #
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.
>>>leWord8 5 51>>>leWord8 4 51>>>leWord8 6 50
leWord16 :: Word16 -> Word16 -> Word16 Source #
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.
>>>leWord16 5 51>>>leWord16 4 51>>>leWord16 6 50
leWord32 :: Word32 -> Word32 -> Word32 Source #
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.
>>>leWord32 5 51>>>leWord32 4 51>>>leWord32 6 50
leWord64 :: Word64 -> Word64 -> Word64 Source #
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.
>>>leWord64 5 51>>>leWord64 4 51>>>leWord64 6 50
gtWord8 :: Word8 -> Word8 -> Word8 Source #
Branchless greater-than comparison
Return 1 if the first argument is greater-than the second argument, otherwise return 0.
>>>gtWord8 5 50>>>gtWord8 4 50>>>gtWord8 6 51
gtWord16 :: Word16 -> Word16 -> Word16 Source #
Branchless greater-than comparison
Return 1 if the first argument is greater-than the second argument, otherwise return 0.
>>>gtWord16 5 50>>>gtWord16 4 50>>>gtWord16 6 51
gtWord32 :: Word32 -> Word32 -> Word32 Source #
Branchless greater-than comparison
Return 1 if the first argument is greater-than the second argument, otherwise return 0.
>>>gtWord32 5 50>>>gtWord32 4 50>>>gtWord32 6 51
gtWord64 :: Word64 -> Word64 -> Word64 Source #
Branchless greater-than comparison
Return 1 if the first argument is greater-than the second argument, otherwise return 0.
>>>gtWord64 5 50>>>gtWord64 4 50>>>gtWord64 6 51
geWord8 :: Word8 -> Word8 -> Word8 Source #
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.
>>>geWord8 5 51>>>geWord8 4 50>>>geWord8 6 51
geWord16 :: Word16 -> Word16 -> Word16 Source #
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.
>>>geWord16 5 51>>>geWord16 4 50>>>geWord16 6 51