arrayfire / arrayfire/arrayfire-haskell

Investigate Bits instance on Array CBool

Ouverte
#34 1 commentaire 0 réactions 2 personnes assignées Réclamée par @chessai Voir sur GitHub
enhancement good first issue help wanted question
Langage dominant
Haskell
Étoiles
60
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.