Home
last modified time | relevance | path

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

/freebsd/contrib/bc/scripts/
H A Dsqrt_random.bc104 num += frand(irand(32) + 1)
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dmathbench.c163 frand (double lo, double hi) in frand() function
173 A[i] = frand (lo, hi); in gen_rand()
180 Af[i] = (float)frand (lo, hi); in genf_rand()
/freebsd/contrib/bc/tests/bc/
H A Dlib2.txt473 f = frand(10)
/freebsd/contrib/bc/gen/
H A Dlib2.bc272 define frand(p){
276 define ifrand(i,p){return irand(abs(i)$)+frand(p)}
/freebsd/contrib/bc/
H A DNEWS.md1019 * `frand(p)`: Generates a number between `[0,1)` to `p` decimal places.
1020 * `ifrand(i, p)`: Generates an integer with bound `i` and adds it to `frand(p)`.