Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Bitwise operations on mutable cells in a stack
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
History.md
Makefile
README.md
component.json
index.js
package.json
test.js

README.md

bitcells

Bitwise operations on mutable cells in a stack

install

npm

$ npm install bitcells --save

component

$ component install jwerle/bitcells --save

usage

var Cell = require('bitcells').Cell
  , Stack = require('bitcells').Stack
  , assert = require('assert')


var $ = Stack()
  , a = Cell(4)
  , b = Cell(8)
  , c = Cell(16)

$.push(a).push(b)

assert(a & $);
assert(b & $);
assert(12 == $);

a.v = c;

assert(24 == $)

why?

https://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux-docs/CellProgrammingTutorial/BasicsOfSIMDProgramming.html

license

MIT

Something went wrong with that request. Please try again.