Searched refs:umax (Results 1 – 1 of 1) sorted by relevance
217 zend_ulong umax; in php_random_int() local225 umax = max - min; in php_random_int()232 if (umax == ZEND_ULONG_MAX) { in php_random_int()238 umax++; in php_random_int()241 if ((umax & (umax - 1)) != 0) { in php_random_int()243 zend_ulong limit = ZEND_ULONG_MAX - (ZEND_ULONG_MAX % umax) - 1; in php_random_int()253 *result = (zend_long)((trial % umax) + min); in php_random_int()
Completed in 5 milliseconds