8 unsigned short param
[7] = {4,5,0,1,2,1,0x2};
9 unsigned short seed16v
[3] = {1,2,3};
10 unsigned short xsubi
[3] = {1,2,3};
28 int * iptr
= (int *)&d
;
32 printf("%d. %e (%x %x) %x\n",c
,d
,a
,b
,array
[c
]);
40 printf("%d. %lx\n",c
,lrand48());
45 sptr
= seed48(seed16v
);
46 printf("---\n %x,%x,%x\n",sptr
[0],sptr
[1],sptr
[2]);
50 printf("%d. %lx\n",c
,lrand48());
58 printf("%d. %e (%x,%x,%x)\n",c
,erand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);
69 printf("%d. %lx (%x,%x,%x)\n",c
,nrand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);
77 printf("%d. %lx (%x,%x,%x)\n",c
,jrand48(xsubi
),xsubi
[0],xsubi
[1],xsubi
[2]);