Lines Matching refs:tmp_value
168 double exponent, tmp_value, tmp_value2; in _php_math_round() local
198 tmp_value = floor(places > 0 ? value * exponent : value / exponent); in _php_math_round()
199 tmp_value2 = tmp_value + 1.0; in _php_math_round()
201 tmp_value = ceil(places > 0 ? value * exponent : value / exponent); in _php_math_round()
202 tmp_value2 = tmp_value - 1.0; in _php_math_round()
206 tmp_value = tmp_value2; in _php_math_round()
210 if (fabs(tmp_value) >= 1e16) { in _php_math_round()
215 tmp_value = php_round_helper(tmp_value, value, exponent, places, mode); in _php_math_round()
220 tmp_value = tmp_value / exponent; in _php_math_round()
222 tmp_value = tmp_value * exponent; in _php_math_round()
234 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round()
236 tmp_value = zend_strtod(buf, NULL); in _php_math_round()
238 if (!zend_finite(tmp_value) || zend_isnan(tmp_value)) { in _php_math_round()
239 tmp_value = value; in _php_math_round()
242 return tmp_value; in _php_math_round()