arrayfire / arrayfire/arrayfire-haskell

Investigate Bits instance on Array CBool

未關閉
#34 1 則留言 0 個 reaction 已指派 2 人 已被 @chessai 認領 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。