Libraries
»
capricious
(0.2.2)
»
Index (T)
»
Capricious
»
ThirtyTwoBitShifter
Module: Capricious::ThirtyTwoBitShifter
Defined in:
lib/capricious/lfsr.rb
Constant Summary
collapse
MASK =
0xffffffff
SIZE =
32
BITS =
[
32
,
31
,
30
,
10
]
BITSELECT =
BITS
.
map
{
|
bit
|
"
@reg[
#{
SIZE
-
bit
}
]
"
}
.
join
(
"
^
"
)