[haiku-development] srand / rand bug

  • From: Ralf Schuelke <teammaui@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 18 Apr 2008 15:02:01 +0200

Hi developers.
i have a problem in haiku with srand and rand, i not sure what goes wrong.
The problem is that rand is not realy rand, i have a factor from 8 ( + ore -) 
when 
i used a field from 4x4 ( 4x4 = 16 , 16/2 = 8 )

The filed looks so:

[x][x][x][x]
[x][x][x][x]
[x][x][x][x]
[x][x][x][x]

i write a test app and make screenshot, i hope your can the the problem on the 
screenshots ;-)( haiku = wrong , zeta/linux true )
URL:
http://tm.kaldience.com/data/php/dir.php?dir=/dir/members/stargater/CPP/RandTest


-- 
Ralf Schülke aka Stargater

Other related posts: