arrayfire / arrayfire/arrayfire-haskell

Investigate Bits instance on Array CBool

オープン
#34 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。