Lines Matching refs:places
139 PHPAPI double _php_math_round(double value, int places, int mode) { in _php_math_round() argument
150 f1 = php_intpow10(abs(places)); in _php_math_round()
155 if (precision_places > places && precision_places - places < 15) { in _php_math_round()
166 f2 = php_intpow10(abs(places - precision_places)); in _php_math_round()
171 if (places >= 0) { in _php_math_round()
186 if (abs(places) < 23) { in _php_math_round()
187 if (places > 0) { in _php_math_round()
202 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round()
346 int places = 0; in PHP_FUNCTION() local
356 places = (int) precision; in PHP_FUNCTION()
363 if (places >= 0) { in PHP_FUNCTION()
370 return_val = _php_math_round(return_val, places, mode); in PHP_FUNCTION()