.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   Random Number Generator (http://forum.shrapnelgames.com/showthread.php?t=25154)

Starmyth July 29th, 2005 11:55 AM

Random Number Generator
 
Has the WinSPMBT random number generator been tested for flatness over time? My Heathkit H8 Basic software would not generate certain x, y random combinations. I was pretty amazed that after many hours of running, it had not filled every possible character position of the display. 25 x 80 I believe. An array test showed the same result. The last time I tested Microsoft Basic (5 I believe) it didn't exhibit this x, y issue and it was flat over time.

Mobhack July 29th, 2005 12:38 PM

Re: Random Number Generator
 
Quote:

Starmyth said:
Has the WinSPMBT random number generator been tested for flatness over time? My Heathkit H8 Basic software would not generate certain x, y random combinations. I was pretty amazed that after many hours of running, it had not filled every possible character position of the display. 25 x 80 I believe. An array test showed the same result. The last time I tested Microsoft Basic (5 I believe) it didn't exhibit this x, y issue and it was flat over time.

If the standard Microsoft (Intel?) random number generator has been tested, then yes, but not by us.

Assuming that the random function used by Borland C++ Builder uses that, of course.

If you have a "standard" test for the random function - it might be useful to run that to see what results one gets?

Cheers
Andy


All times are GMT -4. The time now is 11:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.