arrayfire / arrayfire/arrayfire-haskell
Investigate Bits instance on Array CBool
オープン
enhancement
good first issue
help wanted
question
- 主要言語
- Haskell
- スター
- 60
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。