Searched defs:xseed (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/upstream-netbsd/libc/stdlib/
H A D_rand48.c38 __dorand48(unsigned short xseed[3]) argument
43 _DIAGASSERT(xseed != NULL);
45 accu = (unsigned long) __rand48_mult[0] * (unsigned long) xseed[0] +
49 accu += (unsigned long) __rand48_mult[0] * (unsigned long) xseed[1] +
50 (unsigned long) __rand48_mult[1] * (unsigned long) xseed[0];
53 accu += __rand48_mult[0] * xseed[2] + __rand48_mult[1] * xseed[1] + __rand48_mult[2] * xseed[0];
54 xseed[0] = temp[0];
55 xseed[
[all...]

Completed in 74 milliseconds