Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/gd/tests/
H A Dbug47946.phpt31 $divisor = array_sum(array_flatten($matrix));
32 if ($divisor == 0) {
33 $divisor = .01;
35 return imageconvolution($resource, $matrix, $divisor, $offset);
/php-src/ext/bcmath/tests/
H A Dbcdiv_by_one.phpt15 foreach ($divisor_cases as $divisor) {
18 $divisor_label = str_pad($divisor, 6, ' ', STR_PAD_LEFT);
19 $quot = bcdiv($dividend, $divisor, $scale);
H A Dbcdiv_by_pow_10.phpt15 foreach ($divisor_cases as $divisor) {
18 $divisor_label = str_pad($divisor, 5, ' ', STR_PAD_LEFT);
19 $quot = bcdiv($dividend, $divisor, $scale);
/php-src/ext/bcmath/libbcmath/src/
H A Ddiv.c259 const char *divisor, size_t divisor_len, bc_num *quot, size_t quot_len in bc_do_div() argument
298 bc_convert_to_vector(divisor_vectors, divisor, divisor_len); in bc_do_div()
334 if (bc_is_zero(divisor)) { in bc_divide()
347 if (_bc_do_compare(divisor, BCG(_one_), divisor->n_scale, false) == BCMATH_EQUAL) { in bc_divide()
352 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
362 char *divisorptr = divisor->n_value; in bc_divide()
363 char *divisorend = divisorptr + divisor->n_len + divisor->n_scale - 1; in bc_divide()
364 size_t divisor_len = divisor->n_len; in bc_divide()
365 size_t divisor_scale = divisor->n_scale; in bc_divide()
471 (*quot)->n_sign = numerator->n_sign == divisor->n_sign ? PLUS : MINUS; in bc_divide()
[all …]
/php-src/Zend/tests/
H A Dbug69957.phpt7 $divisor = 0;
8 $result = 1 / $divisor;
17 $divisor = 0;
18 $result = 1 % $divisor;
/php-src/ext/standard/
H A Dmath.c1415 double dividend, divisor; in PHP_FUNCTION() local
1419 Z_PARAM_DOUBLE(divisor) in PHP_FUNCTION()
1422 RETURN_DOUBLE(dividend / divisor); in PHP_FUNCTION()
1443 zend_long dividend, divisor; in PHP_FUNCTION() local
1447 Z_PARAM_LONG(divisor) in PHP_FUNCTION()
1450 if (divisor == 0) { in PHP_FUNCTION()
1453 } else if (divisor == -1 && dividend == ZEND_LONG_MIN) { in PHP_FUNCTION()
1460 RETURN_LONG(dividend / divisor); in PHP_FUNCTION()
/php-src/ext/gd/
H A Dgd.stub.php757 function imageconvolution(GdImage $image, array $matrix, float $divisor, float $offset): bool {} argument
H A Dgd_arginfo.h511 ZEND_ARG_TYPE_INFO(0, divisor, IS_DOUBLE, 0)
/php-src/
H A Dphp.ini-development1368 ; https://php.net/session.gc-divisor
H A Dphp.ini-production1370 ; https://php.net/session.gc-divisor

Completed in 23 milliseconds