factor/basis/random/dummy/dummy.factor

12 lines
210 B
Factor
Raw Normal View History

USING: kernel math accessors random ;
2008-03-19 17:18:03 -04:00
IN: random.dummy
TUPLE: random-dummy i ;
C: <random-dummy> random-dummy
2014-02-06 21:17:03 -05:00
M: random-dummy seed-random
>>i ;
2008-03-19 17:18:03 -04:00
2014-02-06 21:17:03 -05:00
M: random-dummy random-32*
[ dup 1 + ] change-i drop ;