[ODE] dRandInt Crash Fix
Adam D. Moss
adam at gimp.org
Wed Jun 22 11:50:09 MST 2005
Adam D. Moss wrote:
> I think that what it intends to do is:
>
> int dRandInt (int n)
> {
> double a = double(n-1) / 4294967296.0;
Forget that, it's kinda bogus. However, it leaves your
strange problem unexplained. Are you using D3D and letting
it lower the x87 internal accuracy?
Meanwhile I think I'm happier with the xor-folding int
implementation anyway...
--adam
--
Adam D. Moss - adam at gimp.org
More information about the ODE
mailing list