Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 25 of 45) sorted by path

12

/PHP-7.4/Zend/tests/ast/
H A Dzend-pow-assign.phpt11 Warning: assert(): assert(false && ($a **= 2)) failed in %s%ezend-pow-assign.php on line %d
/PHP-7.4/Zend/
H A Dzend_operators.c1186 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function()
1193 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i)); in pow_function()
1201 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function()
1206 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function()
1210 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function()
1214 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function()
3256 double two_pow_32 = pow(2., 32.),
3270 double two_pow_64 = pow(2., 64.),
/PHP-7.4/ext/com_dotnet/tests/
H A Dvariants.phpt126 pow:
160 pow: 1
242 pow:
276 pow: 1
330 pow:
392 pow:
450 pow:
512 pow:
534 pow: 0
548 pow: 0
[all …]
H A Dvariants_x64.phpt129 pow:
163 pow: 1
245 pow:
279 pow: 1
333 pow:
395 pow:
453 pow:
515 pow:
537 pow: 0
551 pow: 0
[all …]
/PHP-7.4/ext/date/lib/
H A Dparse_date.c510 tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin)); in timelib_get_frac_nr()
25326 s->time->us = (f * pow(10, 6 - (ptr - tptr))); in timelib_parse_from_format_with_map()
25340 s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000); in timelib_parse_from_format_with_map()
H A Dparse_date.re508 tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin));
2218 s->time->us = (f * pow(10, 6 - (ptr - tptr)));
2232 s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000);
/PHP-7.4/ext/gd/
H A Dgd.c3206 (int) ((pow((gdTrueColorGetRed(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
3207 (int) ((pow((gdTrueColorGetGreen(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
3208 (int) ((pow((gdTrueColorGetBlue(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
3218 im->red[i] = (int)((pow((im->red[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
3219 im->green[i] = (int)((pow((im->green[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
3220 im->blue[i] = (int)((pow((im->blue[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
/PHP-7.4/ext/gd/libgd/
H A Dgd_interpolation.c381 return (pow(2.0 - x, 3.0)/6.0); in filter_cubic_spline()
494 if (x < 1.5) return (0.5 * pow(x - 1.5, 2.0)); in filter_bell()
608 return (1.0f - (double)fabs(pow(x,a))); in filter_power()
/PHP-7.4/ext/gd/tests/
H A Dbug53504.phpt78 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
H A Dsimilarity.inc39 pow($red1 - $red2, 2) + pow($green1 - $green2, 2) + pow($blue1 - $blue2, 2)
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_array_large.phpt122 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32);
H A Dmysqli_fetch_assoc_bit.phpt24 $maxval = pow(2, $bits);
45 $max_value = pow(2, $bits) - 1;
H A Dmysqli_insert_packet_overflow.phpt11 $max_len = pow(2, 24);
39 $max_len = pow(2, 24);
69 $max_len = pow(2, 24);
H A Dmysqli_stmt_bind_result_bit.phpt15 $maxval = pow(2, $bits);
41 $max_value = pow(2, $bits) - 1;
H A Dmysqli_stmt_fetch_bit.phpt27 $max_value = pow(2, $bits) - 1;
H A Dmysqli_stmt_get_result_bit.phpt27 $maxval = pow(2, $bits);
48 $max_value = pow(2, $bits) - 1;
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c255 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)) in ps_fetch_time()
352 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)) in ps_fetch_datetime()
/PHP-7.4/ext/opcache/tests/
H A Dbug77275.phpt20 $a = pow(1, 2);
/PHP-7.4/ext/standard/
H A Dbasic_functions.c2954 PHP_FE(pow, arginfo_pow)
H A Dmath.c89 return pow(10.0, (double)power); in php_intpow10()
224 return(log(z + sqrt(1 + pow(z, 2))) / log(M_E)); in php_asinh()
623 PHP_FUNCTION(pow) in PHP_FUNCTION() argument
H A Dphp_math.h45 PHP_FUNCTION(pow);
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php739 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
/PHP-7.4/ext/standard/tests/array/
H A Darray_map_variation12.phpt19 echo "-- with built-in function 'pow' and two parameters --\n";
20 var_dump( array_map('pow', $array1, $array2));
22 echo "-- with built-in function 'pow' and one parameter --\n";
23 var_dump( array_map('pow', $array1));
32 -- with built-in function 'pow' and two parameters --
41 -- with built-in function 'pow' and one parameter --
43 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
45 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
47 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
H A Darray_walk_recursive_variation8.phpt12 * pow function
21 echo "-- With 'pow' built-in function --\n";
22 var_dump( array_walk_recursive($input, 'pow'));
34 -- With 'pow' built-in function --
H A Darray_walk_variation8.phpt12 * pow function
21 echo "-- With 'pow' built-in function --\n";
22 var_dump( array_walk($input, 'pow'));
34 -- With 'pow' built-in function --

Completed in 116 milliseconds

12