arrayfire / arrayfire/arrayfire-haskell
Investigate Bits instance on Array CBool
Offen
enhancement
good first issue
help wanted
question
- Vorherrschende Sprache
- Haskell
- Sterne
- 60
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Theoretically, there's no reason this can't be supported.
```haskell
instance Bits (ArrayFire CBool) where
(.&.) = A.and
(.|.) = A.or
xor = A.bitXor
shiftL x n = A.shiftL x (scalar n)
shiftR x n = A.shiftR x (scalar n)
```
Still need to look into implementing the following:
```haskell
(rotate | rotateL, rotateR), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.