arrayfire / arrayfire/arrayfire-haskell
Investigate Bits instance on Array CBool
Aberta
enhancement
good first issue
help wanted
question
- Linguagem predominante
- Haskell
- Estrelas
- 60
- Forks
- 5
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.