Generation of uniformly distributed random numbers (0,1) - page 9

 
gumgum >>:

Somewhere on Spider, there's a thread where a man was selling RPMs (specifically random ones) in the form of a regular USB stick that plugs into a USB. It used some (I don't remember exactly) effect of transition of electrons from one energy level to another. If you really need it, have a look.

 
renegate >>:

Где-то на Пауке есть тема, где человек продавал ГСЧ (именно случайных) в виде обычной флэшки, которая подключается к USB. Там использовался какой-то (точно не помню) эффект перехода электронов с одного энергетического уровня на другой. Если Вам это действительно нужно, то посмотрите.

I gave you a link to the ready-made C++ code. Add export, compile and use it - numbers are random, performance is high - what more is needed

 
alsu >>:

нахрен это все нужно, я же дал ссылку на готовый код на С++. Добавьте экспорт, компилируйте и пользуйтесь - числа случайные, быстродействие высокое - чего еще надо

I'm not surprised - do people read other people's posts?


There is a special service in network, where you can get 32565 random numbers in range up to 32565 (MAX_INT) and using MathRand get first index, then to walk through this array and choose random numbers - it's much faster. Tea is not for games, but for research - here distribution is important, not TRUE randomness.

 
alsu >>:

нахрен это все нужно, я же дал ссылку на готовый код на С++. Добавьте экспорт, компилируйте и пользуйтесь - числа случайные, быстродействие высокое - чего еще надо

Don't freak out! Or we'll invite Yuri Reshetov into the branch!

 
renegate >>:

Не психуй! А то Юру Решетова в ветку пригласим!

I'm shutting up now.

 
Mathemat >>:

Докажи. Это слишком смелое заявление.

Well, it's not about a period, it's about cycles. You know as well as I do that the odd/even check gives cycles. It's not a big deal.

 
alsu >>:

дал ссылку на готовый код на С++. Добавьте экспорт, компилируйте и пользуйтесь - числа случайные, быстродействие высокое - чего еще надо

Are there any tests anywhere on how this generator passes DIEHARD?

 
HideYourRichess писал(а) >>

really good real and integer generators. http://www.agner.org/random/ with a period of 10^8100 somewhere.

By the way, quite a decent library, suited to me...

 
I use it myself. It was made by a clever author, a specialist in programme optimisation. Normal, proven mathematics - what more is needed.
 
SProgrammer >>:

Не я вообще удивляюсь - народ чужие посты то читает?


Есть специальный сервис в сети где можно получить 32565 случайных чисел в диапазоне до 32565 (MAX_INT) и используя MathRand получив первый индекс, дальше ходить по этому массиву и выбирать случанйые числа - куда уж быстрее. Чай не для игр а для исследования - тут важно распределение а не ИСТИННАЯ СЛУЧАЙНОСТЬ.

You're wrong, if the task is to generate a sequence of numbers of a given digit capacity (unknown in advance), which is what the topicstarter was asking about, then it is the randomness that is important - only then you can get sequences of numbers with a digit capacity of choice and with "good" characteristics. If we combine the values produced by the PRNG generator, then the characteristics of the process will generally not be "good" and the same DIEHARD it most likely will not pass.

Reason: