[Ecls-list] Small problem with random on NetBSD/Sparc64

Bruce O'Neel edoneel at sdf.lonestar.org
Fri Jul 29 02:21:12 UTC 2005


Hi,

There seems to be a small problem with (random ) on NetBSD/Sparc64
that does not seem to exist on NetBSD/ppc, m68k, intel x86, or sparc.

On NetBSD/sparc (for example)

> (random 100)
8
> (random 100)
27
> (random 100)
74
> 

but on NetBSD/Sparc64

> (random 100)
260094612668
> (random 100)
27292043960
> (random 100)
397829141684

I'll poke at it later today/this weekend.  On sparc64 sizeof(int) is 4
and sizeof(long) is 8 where on sparc (and the others) both sizeof(int)
and sizeof(long) are 4.

Thanks in advance!

cheers

bruce


-- 
edoneel at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




More information about the ecl-devel mailing list