arrayfire / arrayfire/arrayfire-haskell

Investigate Bits instance on Array CBool

Aberta
#34 1 comentário 0 reações 2 responsáveis Reivindicada por @chessai Ver no GitHub
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.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.