Home
last modified time | relevance | path

Searched refs:random_upto (Results 1 - 2 of 2) sorted by relevance

/third_party/optimized-routines/math/test/rtest/
H A Ddotest.c714 #define random_sign ( random_upto(1) ? 0x80000000 : 0 )
1142 out[1] = random_upto(0xFFFFFFFF); in cases_biased()
1151 out[1] = random_upto(0xFFFFFFFF); in cases_biased_positive()
1189 out[2] = random_upto(2048)-1024; in cases_ldexp()
1195 out[2] = random_upto(256)-128; in cases_ldexp_float()
1201 out[0] = highbound - random_upto(highbound-lowbound); in cases_uniform()
1202 out[1] = random_upto(0xFFFFFFFF); in cases_uniform()
1209 out[0] = highbound - random_upto(highbound-lowbound); in cases_uniform_float()
1218 out[0] = highbound - random_upto(highbound-lowbound); in cases_uniform_positive()
1219 out[1] = random_upto( in cases_uniform_positive()
[all...]
H A Drandom.c43 * random_upto: generate a uniformly randomised number in the range
52 * For speed, I separate the implementation of random_upto into the
77 uint32 random_upto(uint32 limit) { in random_upto() function

Completed in 3 milliseconds