Lines Matching refs:dval
524 double dval = Z_DVAL_P(op); in _convert_to_cstring() local
526 str = zend_strpprintf_unchecked(0, "%.*H", (int) EG(precision), dval); in _convert_to_cstring()
561 double dval = Z_DVAL_P(op); in _convert_to_string() local
563 str = zend_strpprintf(0, "%.*G", (int) EG(precision), dval); in _convert_to_string()
764 double dval; in _zval_get_long_func_ex() local
765 …if (0 == (type = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, silent ? 1 : -1))… in _zval_get_long_func_ex()
778 return zend_dval_to_lval_cap(dval); in _zval_get_long_func_ex()
1149 double dval = 0.0; in pow_function() local
1153 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow); in pow_function()
1155 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function()
1160 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflow); in pow_function()
1162 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i)); in pow_function()
2459 double dval; in increment_function() local
2461 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) { in increment_function()
2474 ZVAL_DOUBLE(op1, dval+1); in increment_function()
2518 double dval; in decrement_function() local
2534 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) { in decrement_function()
2546 ZVAL_DOUBLE(op1, dval - 1); in decrement_function()
3009 …FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) /* {{{ */ { argument
3010 return is_numeric_string_ex(ZSTR_VAL(str), ZSTR_LEN(str), lval, dval, -1, NULL);
3014 …umeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, … argument
3055 …for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr…
3089 if (dval) {
3113 if (dval) {
3114 *dval = zend_strtod(str, NULL);
3133 if (dval) {
3134 *dval = local_dval;