Home
last modified time | relevance | path

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

12

/PHP-7.4/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-7.4/ext/gd/tests/
H A Dbug53504.phpt78 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt24 $maxval = pow(2, $bits);
45 $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;
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_fetch_array_large.phpt122 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32);
/PHP-7.4/ext/standard/
H A Dphp_math.h45 PHP_FUNCTION(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 Dbasic_functions.c2954 PHP_FE(pow, arginfo_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/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/standard/tests/strings/
H A Dbug54055.phpt7 echo "$i: len=", strlen(strval(-1 * pow(2, -1074))), "\n";
/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/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/date/lib/
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);
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()

Completed in 93 milliseconds

12