Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 25 of 45) sorted by last modified time

12

/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/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()
/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/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/mysqli/tests/
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;
H A Dmysqli_stmt_bind_result_bit.phpt15 $maxval = pow(2, $bits);
41 $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_fetch_assoc_bit.phpt24 $maxval = pow(2, $bits);
45 $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 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
/PHP-7.4/ext/standard/tests/math/
H A Dpow_basic_64bit.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
H A Dpow_basiclong_64bit.phpt2 Test pow function : 64bit long tests
27 var_dump(pow($longVal, $otherVal));
H A Dpow_variation1.phpt2 Test pow() function : usage variations - different data types as $base argument
11 /* Prototype : number pow ( number $base , number $exp )
16 echo "*** Testing pow() : usage variations ***\n";
84 // loop through each element of $inputs to check the behaviour of pow()
88 var_dump(pow($input, 3));
95 *** Testing pow() : usage variations ***
H A Dpow_variation1_64bit.phpt2 Test pow() function : usage variations - different data types as $base argument
11 /* Prototype : number pow ( number $base , number $exp )
16 echo "*** Testing pow() : usage variations ***\n";
84 // loop through each element of $inputs to check the behaviour of pow()
88 var_dump(pow($input, 3));
95 *** Testing pow() : usage variations ***
H A Dpow_variation2.phpt2 Test pow() function : usage variations - different data types as $exp argument
7 /* Prototype : number pow ( number $base , number $exp )
12 echo "*** Testing pow() : usage variations ***\n";
80 // loop through each element of $inputs to check the behaviour of pow()
84 var_dump(pow(20.3, $input));
91 *** Testing pow() : usage variations ***
H A Dpow_basic.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
H A Dpow_basic2.phpt2 Test pow() - basic function test pow() - with large exponents
11 var_dump(pow(24, $large_exp));
12 var_dump(pow(0.24, -$large_exp));
13 var_dump(pow(-0.24, -$large_exp));
16 var_dump(pow(0.24, $large_exp));
17 var_dump(pow(-0.24, $large_exp));
18 var_dump(pow(24, -$large_exp));
19 var_dump(pow(-24, -$large_exp));
22 var_dump(pow(-0.24, $large_exp+1));
25 var_dump(pow(-24, $large_exp+1));
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Drange_bug70239_0.phpt5 range(0, pow(2.0, 100000000));
H A Drange_bug70239_1.phpt5 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
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 --
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

Completed in 98 milliseconds

12