/php-src/Zend/ |
H A D | zend_operators.c | 1314 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/com_dotnet/tests/ |
H A D | variants.phpt | 127 pow: 161 pow: 1 243 pow: 277 pow: 1 331 pow: 393 pow: 451 pow: 513 pow: 535 pow: 0 549 pow: 0 [all …]
|
H A D | variants_x64.phpt | 130 pow: 164 pow: 1 246 pow: 280 pow: 1 334 pow: 396 pow: 454 pow: 516 pow: 538 pow: 0 552 pow: 0 [all …]
|
/php-src/ext/date/lib/ |
H A D | parse_date.c | 541 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()
|
H A D | parse_date.re | 539 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);
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | strtod.c | 165 lexbor_diyfp_t value, pow, adj_pow, rounded; in lexbor_strtod_diyfp_strtod() local 188 pow = lexbor_cached_power_dec(exp, &dec_exp); in lexbor_strtod_diyfp_strtod() 204 value = lexbor_diyfp_mul(value, pow); in lexbor_strtod_diyfp_strtod()
|
/php-src/ext/gd/ |
H A D | gd.c | 2296 (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 D | gd_interpolation.c | 370 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/gd/tests/ |
H A D | bug53504.phpt | 82 $width = sqrt(pow($bboxDrawn[2] - $bboxDrawn[0], 2) + pow($bboxDrawn[3] - $bboxDrawn[1], 2));
|
H A D | similarity.inc | 39 pow($red1 - $red2, 2) + pow($green1 - $green2, 2) + pow($blue1 - $blue2, 2)
|
/php-src/ext/gmp/tests/ |
H A D | gmp_pow2.phpt | 2 Test pow() with gmp object 9 var_dump(pow($n, 10)); 13 pow($n, -10);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_large.phpt | 126 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32);
|
H A D | mysqli_fetch_assoc_bit.phpt | 20 $maxval = pow(2, $bits); 41 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_insert_packet_overflow.phpt | 12 $max_len = pow(2, 24); 40 $max_len = pow(2, 24); 70 $max_len = pow(2, 24);
|
H A D | mysqli_stmt_bind_result_bit.phpt | 15 $maxval = pow(2, $bits); 41 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_stmt_fetch_bit.phpt | 26 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_stmt_get_result_bit.phpt | 23 $maxval = pow(2, $bits); 44 $max_value = pow(2, $bits) - 1;
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 243 (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/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 152 #define luai_numpow(a,b)(pow(a,b))
|
/php-src/ext/opcache/tests/ |
H A D | bug77275.phpt | 20 $a = pow(1, 2);
|
/php-src/ext/opcache/tests/jit/ |
H A D | bug81225.phpt | 2 Bug #81225: Wrong result with pow operator with JIT enabled
|
H A D | bug81225_2.phpt | 2 Bug #81225: Wrong result with pow operator with JIT enabled
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 3204 function pow(mixed $num, mixed $exponent): int|float|object {}
|
H A D | basic_functions_arginfo.h | 2774 ZEND_FUNCTION(pow);
|
/php-src/ext/standard/html_tables/ |
H A D | html_table_gen.php | 735 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
|