Home
last modified time | relevance | path

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

/aoo42x/main/scaddins/source/analysis/
H A Danalysis.cxx812 static sal_uInt32 nScRandomSeed[SCRANDOMQ_SIZE]; in getRandbetween() local
825 rtl_random_getBytes(aPool, &nScRandomSeed, SCRANDOMQ_SIZE * sizeof(nScRandomSeed[0])); in getRandbetween()
830 nScRandomSeed[0] = 69069 * nScRandomSeed[0] + 12345; in getRandbetween()
831 nScRandomSeed[1] ^= (nScRandomSeed[1] << 13); in getRandbetween()
832 nScRandomSeed[1] ^= (nScRandomSeed[1] >> 17); in getRandbetween()
833 nScRandomSeed[1] ^= (nScRandomSeed[1] << 5); in getRandbetween()
834 nScRandomt = nScRandoma * nScRandomSeed[2] + nScRandomSeed[3]; in getRandbetween()
835 nScRandomSeed[1] = (nScRandomt >> 32); in getRandbetween()
837 fScRandomW = (nScRandomSeed[0] + nScRandomSeed[1] + (nScRandomSeed[3] = nScRandomt)); in getRandbetween()

Completed in 13 milliseconds