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 还没有评估数据。