/PHP-7.4/ext/gd/ |
H A D | gd.c | 3206 (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 D | parse_date.re | 508 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 D | parse_date.c | 510 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 D | zend_operators.c | 1186 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 D | gd_interpolation.c | 381 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 D | mysqli_stmt_fetch_bit.phpt | 27 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_stmt_get_result_bit.phpt | 27 $maxval = pow(2, $bits); 48 $max_value = pow(2, $bits) - 1;
|
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_insert_packet_overflow.phpt | 11 $max_len = pow(2, 24); 39 $max_len = pow(2, 24); 69 $max_len = pow(2, 24);
|
H A D | mysqli_fetch_assoc_bit.phpt | 24 $maxval = pow(2, $bits); 45 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_fetch_array_large.phpt | 122 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32);
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 2954 PHP_FE(pow, arginfo_pow)
|
H A D | math.c | 89 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 D | pow_basic_64bit.phpt | 2 Test pow() - basic function test pow() 43 $res = pow($base, $exponent);
|
H A D | pow_basiclong_64bit.phpt | 2 Test pow function : 64bit long tests 27 var_dump(pow($longVal, $otherVal));
|
H A D | pow_variation1.phpt | 2 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 D | pow_variation1_64bit.phpt | 2 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 D | pow_variation2.phpt | 2 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 D | pow_basic.phpt | 2 Test pow() - basic function test pow() 43 $res = pow($base, $exponent);
|
H A D | pow_basic2.phpt | 2 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 D | range_bug70239_0.phpt | 5 range(0, pow(2.0, 100000000));
|
H A D | range_bug70239_1.phpt | 5 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
|
H A D | array_walk_recursive_variation8.phpt | 12 * 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 D | array_walk_variation8.phpt | 12 * 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 D | array_map_variation12.phpt | 19 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
|