Lines Matching refs:ran
67 int64_t ran = 0; in randomInt64() local
76 for (i = 0; i < sizeof(ran); i += 1) { in randomInt64()
77 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt64()
80 return ran; in randomInt64()
88 double ran = 0; in randomDouble() local
98 for (i = 0; i < sizeof(ran); i += 1) { in randomDouble()
99 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomDouble()
101 } while (_isnan(ran)); in randomDouble()
110 ran = (double)numerator / (double)denomenator; in randomDouble()
113 return ran; in randomDouble()
121 int32_t ran = 0; in randomInt32() local
130 for (i = 0; i < sizeof(ran); i += 1) { in randomInt32()
131 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt32()
134 return ran; in randomInt32()