2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
13 unsigned short param
[7] = {4,5,0,1,2,1,0x2};
14 unsigned short seed16v
[3] = {1,2,3};
15 unsigned short xsubi
[3] = {1,2,3};
40 printf("%d. %e (%x %x) %x\n",c
,tmp
.d
,a
,b
,array
[c
]);
48 printf("%d. %lx\n",c
,lrand48());
53 sptr
= seed48(seed16v
);
54 printf("---\n %x,%x,%x\n",sptr
[0],sptr
[1],sptr
[2]);
58 printf("%d. %lx\n",c
,lrand48());
66 printf("%d. %e (%x,%x,%x)\n",c
,erand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);
77 printf("%d. %lx (%x,%x,%x)\n",c
,nrand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);
85 printf("%d. %lx (%x,%x,%x)\n",c
,jrand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);