Lines Matching refs:min
74 PHPAPI double php_random_gammasection_closed_open(php_random_algo_with_state engine, double min, do… in php_random_gammasection_closed_open() argument
76 double g = gamma_max(min, max); in php_random_gammasection_closed_open()
77 uint64_t hi = ceilint(min, max, g); in php_random_gammasection_closed_open()
79 if (UNEXPECTED(max <= min || hi < 1)) { in php_random_gammasection_closed_open()
85 if (fabs(min) <= fabs(max)) { in php_random_gammasection_closed_open()
87 return min; in php_random_gammasection_closed_open()
98 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_closed_open()
102 PHPAPI double php_random_gammasection_closed_closed(php_random_algo_with_state engine, double min, … in php_random_gammasection_closed_closed() argument
104 double g = gamma_max(min, max); in php_random_gammasection_closed_closed()
105 uint64_t hi = ceilint(min, max, g); in php_random_gammasection_closed_closed()
107 if (UNEXPECTED(max < min)) { in php_random_gammasection_closed_closed()
113 if (fabs(min) <= fabs(max)) { in php_random_gammasection_closed_closed()
115 return min; in php_random_gammasection_closed_closed()
129 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_closed_closed()
134 PHPAPI double php_random_gammasection_open_closed(php_random_algo_with_state engine, double min, do… in php_random_gammasection_open_closed() argument
136 double g = gamma_max(min, max); in php_random_gammasection_open_closed()
137 uint64_t hi = ceilint(min, max, g); in php_random_gammasection_open_closed()
139 if (UNEXPECTED(max <= min || hi < 1)) { in php_random_gammasection_open_closed()
145 if (fabs(min) <= fabs(max)) { in php_random_gammasection_open_closed()
157 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_open_closed()
162 PHPAPI double php_random_gammasection_open_open(php_random_algo_with_state engine, double min, doub… in php_random_gammasection_open_open() argument
164 double g = gamma_max(min, max); in php_random_gammasection_open_open()
165 uint64_t hi = ceilint(min, max, g); in php_random_gammasection_open_open()
167 if (UNEXPECTED(max <= min || hi < 2)) { in php_random_gammasection_open_open()
173 if (fabs(min) <= fabs(max)) { in php_random_gammasection_open_open()
182 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_open_open()