Lines Matching refs:tmp_value
167 double tmp_value; in _php_math_round() local
194 tmp_value = floor(places > 0 ? value * exponent : value / exponent); in _php_math_round()
197 tmp_value = ceil(places > 0 ? value * exponent : value / exponent); in _php_math_round()
202 if (fabs(tmp_value) >= 1e15) { in _php_math_round()
207 tmp_value = php_round_helper(tmp_value, value, exponent, places, mode); in _php_math_round()
212 tmp_value = tmp_value / exponent; in _php_math_round()
214 tmp_value = tmp_value * exponent; in _php_math_round()
226 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round()
228 tmp_value = zend_strtod(buf, NULL); in _php_math_round()
230 if (!zend_finite(tmp_value) || zend_isnan(tmp_value)) { in _php_math_round()
231 tmp_value = value; in _php_math_round()
234 return tmp_value; in _php_math_round()