repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git]
/
basis
/
random
/
dummy
/
dummy.factor
blob
e0cb83c33030bec8d896f94f798ec904fa2409a2
1
USING: kernel random math accessors random ;
2
IN: random.dummy
3
4
TUPLE: random-dummy i ;
5
C: <random-dummy> random-dummy
6
7
M: random-dummy seed-random ( seed obj -- )
8
(>>i) ;
9
10
M: random-dummy random-32* ( obj -- r )
11
[ dup 1+ ] change-i drop ;