Home
last modified time | relevance | path

Searched refs:pow (Results 26 – 49 of 49) sorted by relevance

12

/php-src/ext/opcache/tests/
H A Dbug77275.phpt20 $a = pow(1, 2);
/php-src/ext/standard/tests/strings/
H A Dbug47842.phpt5 if (PHP_INT_MAX < pow(2,31)) die("skip PHP_INT_MAX < 32b\n");
H A Dbug54055.phpt7 echo "$i: len=", strlen(strval(-1 * pow(2, -1074))), "\n";
/php-src/ext/standard/tests/math/
H A Dlog.phpt20 $x2 = (int) pow($base, log($x, $base));
H A Dbug45712.phpt26 $inf = pow(0,-2);
H A Dpow_basiclong_64bit.phpt2 Test pow function : 64bit long tests
27 var_dump(pow($longVal, $otherVal));
/php-src/ext/gd/tests/
H A Dbug53504.phpt82 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
/php-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt20 $maxval = pow(2, $bits);
41 $max_value = pow(2, $bits) - 1;
H A Dmysqli_stmt_get_result_bit.phpt23 $maxval = pow(2, $bits);
44 $max_value = pow(2, $bits) - 1;
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.phpt26 $max_value = pow(2, $bits) - 1;
H A Dmysqli_fetch_array_large.phpt126 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32);
/php-src/ext/opcache/tests/jit/
H A Dbug81225_2.phpt2 Bug #81225: Wrong result with pow operator with JIT enabled
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php735 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
/php-src/ext/standard/
H A Dmath.c38 return pow(10.0, (double)power); in php_intpow10()
561 PHP_FUNCTION(pow) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php3204 function pow(mixed $num, mixed $exponent): int|float|object {}
H A Dbasic_functions_arginfo.h2774 ZEND_FUNCTION(pow);
/php-src/Zend/
H A Dzend_operators.c1314 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function_base()
1321 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i)); in pow_function_base()
1329 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1333 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1336 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1339 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
3745 double two_pow_32 = pow(2., 32.),
3759 double two_pow_64 = pow(2., 64.),
/php-src/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c243 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_time()
321 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_datetime()
/php-src/ext/gd/
H A Dgd.c2296 (int) ((pow((gdTrueColorGetRed(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
2297 (int) ((pow((gdTrueColorGetGreen(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
2298 (int) ((pow((gdTrueColorGetBlue(c) / 255.0), gamma) * 255) + .5), in PHP_FUNCTION()
2308 im->red[i] = (int)((pow((im->red[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
2309 im->green[i] = (int)((pow((im->green[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
2310 im->blue[i] = (int)((pow((im->blue[i] / 255.0), gamma) * 255) + .5); in PHP_FUNCTION()
/php-src/ext/gd/libgd/
H A Dgd_interpolation.c370 return (pow(2.0 - x, 3.0)/6.0); in filter_cubic_spline()
483 if (x < 1.5) return (0.5 * pow(x - 1.5, 2.0)); in filter_bell()
597 return (1.0f - (double)fabs(pow(x,a))); in filter_power()
/php-src/ext/date/lib/
H A Dparse_date.re539 tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin));
1251 us = us * pow(10, 7 - (ptr - ptr_before));
2437 s->time->us = (f * pow(10, 6 - (ptr - tptr)));
2452 s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000);
H A Dparse_date.c541 tmp_nr = strtod(str, NULL) * pow(10, 7 - (end - begin)); in timelib_get_frac_nr()
7794 us = us * pow(10, 7 - (ptr - ptr_before)); in scan()
25287 s->time->us = (f * pow(10, 6 - (ptr - tptr))); in timelib_parse_from_format_with_map()
25302 s->time->us = (f * pow(10, 3 - (ptr - tptr)) * 1000); in timelib_parse_from_format_with_map()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c152 #define luai_numpow(a,b)(pow(a,b))

Completed in 172 milliseconds

12