Home
last modified time | relevance | path

Searched refs:accu (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/stdlib/
D_rand48.c40 unsigned long accu; in __dorand48() local
45 accu = (unsigned long) __rand48_mult[0] * (unsigned long) xseed[0] + in __dorand48()
47 temp[0] = (unsigned short) accu; /* lower 16 bits */ in __dorand48()
48 accu >>= sizeof(unsigned short) * 8; in __dorand48()
49 accu += (unsigned long) __rand48_mult[0] * (unsigned long) xseed[1] + in __dorand48()
51 temp[1] = (unsigned short) accu; /* middle 16 bits */ in __dorand48()
52 accu >>= sizeof(unsigned short) * 8; in __dorand48()
53 accu += __rand48_mult[0] * xseed[2] + __rand48_mult[1] * xseed[1] + __rand48_mult[2] * xseed[0]; in __dorand48()
56 xseed[2] = (unsigned short) accu; in __dorand48()