Smalltalk/X WebserverDocumentation of class 'RandomKISS2': | |
Class: RandomKISS2Inheritance:Object | +--RandomKISS2
Description:WARNING: this generator should NOT be used for cryptographic work. NO WARRANTY KISS combines a linear congruence, XorShift and Lag with carry generator. The idea is from George Marsaglia. KISS2 uses slightly different parameters and initial state. RandomKISS2 new nextInteger (RandomKISS2 new:5489) nextInteger If heavily used, it may be useful to embed the original C code as inline C code for a big speedup) Please read: http://www.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf Related information:RandomGenerator - the default; uses the machine's /dev/random if available Random - fast, but generates less quality random numbers RandomTT800 - another random generator RandomParkMiller - another random generator RandomMT19937 - another random generator Class protocol:instance creation
Instance protocol:initialization
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:44:33 GMT |