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 還沒有評估資料。