/PHP-8.0/ext/gmp/ |
H A D | gmp.stub.php | 19 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 21 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 23 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 34 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 62 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 66 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 76 function gmp_cmp(GMP|int|string $num1, GMP|int|string $num2): int {} argument 86 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 88 function gmp_or(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument 100 function gmp_scan0(GMP|int|string $num1, int $start): int {} argument [all …]
|
H A D | gmp_arginfo.h | 31 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 40 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 46 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 108 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 115 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 120 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL) 170 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
|
/PHP-8.0/ext/bcmath/libbcmath/src/ |
H A D | div.c | 90 unsigned char *num1, *num2; in bc_divide() local 173 _one_mult (num1, len1+scale1+extra+1, norm, num1); in bc_divide() 188 if (*n2ptr == num1[qdig]) in bc_divide() 191 qguess = (num1[qdig]*10 + num1[qdig+1]) / *n2ptr; in bc_divide() 195 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide() 196 + num1[qdig+2]) in bc_divide() 201 (num1[qdig]*10 + num1[qdig+1] - *n2ptr*qguess)*10 in bc_divide() 202 + num1[qdig+2]) in bc_divide() 212 ptr1 = (unsigned char *) num1+qdig+len2; in bc_divide() 232 ptr1 = (unsigned char *) num1+qdig+len2; in bc_divide() [all …]
|
H A D | divmod.c | 47 bc_divmod (bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, int scale) in bc_divmod() argument 57 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod() 61 bc_divide (num1, num2, &temp, 0); in bc_divmod() 65 bc_sub (num1, temp, rem, rscale); in bc_divmod() 82 bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale) in bc_modulo() argument 84 return bc_divmod (num1, num2, NULL, result, scale); in bc_modulo()
|
H A D | raise.c | 46 bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) in bc_raise() argument 86 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise() 90 power = bc_copy_num (num1); in bc_raise() 91 pwrscale = num1->n_scale; in bc_raise()
|
H A D | bcmath.h | 137 _PROTOTYPE(int bc_modulo, (bc_num num1, bc_num num2, bc_num *result, 140 _PROTOTYPE(int bc_divmod, (bc_num num1, bc_num num2, bc_num *quot, 146 _PROTOTYPE(void bc_raise, (bc_num num1, bc_num num2, bc_num *result,
|
/PHP-8.0/ext/bcmath/ |
H A D | bcmath.stub.php | 5 function bcadd(string $num1, string $num2, ?int $scale = null): string {} argument 7 function bcsub(string $num1, string $num2, ?int $scale = null): string {} argument 9 function bcmul(string $num1, string $num2, ?int $scale = null): string {} argument 11 function bcdiv(string $num1, string $num2, ?int $scale = null): string {} argument 13 function bcmod(string $num1, string $num2, ?int $scale = null): string {} argument 21 function bccomp(string $num1, string $num2, ?int $scale = null): int {} argument
|
H A D | bcmath_arginfo.h | 5 ZEND_ARG_TYPE_INFO(0, num1, IS_STRING, 0) 37 ZEND_ARG_TYPE_INFO(0, num1, IS_STRING, 0)
|
/PHP-8.0/ext/bcmath/tests/ |
H A D | str2num_formatting.phpt | 97 bcadd(): Argument #1 ($num1) is not well-formed 98 bcadd(): Argument #1 ($num1) is not well-formed 99 bcadd(): Argument #1 ($num1) is not well-formed 100 bcadd(): Argument #1 ($num1) is not well-formed 101 bcadd(): Argument #1 ($num1) is not well-formed 109 bccomp(): Argument #1 ($num1) is not well-formed 110 bccomp(): Argument #1 ($num1) is not well-formed 111 bccomp(): Argument #1 ($num1) is not well-formed 112 bccomp(): Argument #1 ($num1) is not well-formed 113 bccomp(): Argument #1 ($num1) is not well-formed
|
H A D | bug80545.phpt | 24 bcadd(): Argument #1 ($num1) is not well-formed
|
/PHP-8.0/Zend/tests/ |
H A D | bw_or_assign_with_ref.phpt | 6 $num1 = 1; 9 $num1 |= $num2; 10 var_dump($num1);
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_sub.phpt | 40 gmp_sub(): Argument #1 ($num1) is not an integer string 41 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, array given 53 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, stdClass given
|
H A D | gmp_xor.phpt | 49 gmp_xor(): Argument #1 ($num1) is not an integer string 52 gmp_xor(): Argument #1 ($num1) must be of type GMP|string|int, array given 54 gmp_xor(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_and.phpt | 50 gmp_and(): Argument #1 ($num1) is not an integer string 53 gmp_and(): Argument #1 ($num1) must be of type GMP|string|int, array given 55 gmp_and(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_or.phpt | 49 gmp_or(): Argument #1 ($num1) is not an integer string 52 gmp_or(): Argument #1 ($num1) must be of type GMP|string|int, array given 54 gmp_or(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_mod.phpt | 36 gmp_mod(): Argument #1 ($num1) is not an integer string 46 gmp_mod(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_hamdist.phpt | 46 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given 47 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_invert.phpt | 56 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given 58 gmp_invert(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_jacobi.phpt | 60 gmp_jacobi(): Argument #1 ($num1) must be of type GMP|string|int, array given 61 gmp_jacobi(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_legendre.phpt | 60 gmp_legendre(): Argument #1 ($num1) must be of type GMP|string|int, array given 61 gmp_legendre(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_div_q.phpt | 79 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, resource given 80 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_div_r.phpt | 79 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, resource given 80 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_div_qr.phpt | 162 gmp_div_qr(): Argument #1 ($num1) must be of type GMP|string|int, resource given 163 gmp_div_qr(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
H A D | gmp_cmp.phpt | 37 gmp_cmp(): Argument #1 ($num1) must be of type GMP|string|int, array given
|
/PHP-8.0/ext/standard/ |
H A D | math.c | 391 double num1, num2; in PHP_FUNCTION() local 394 Z_PARAM_DOUBLE(num1) in PHP_FUNCTION() 397 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION() 636 double num1, num2; in PHP_FUNCTION() local 639 Z_PARAM_DOUBLE(num1) in PHP_FUNCTION() 643 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION() 1166 double num1, num2; in PHP_FUNCTION() local 1169 Z_PARAM_DOUBLE(num1) in PHP_FUNCTION() 1173 RETURN_DOUBLE(fmod(num1, num2)); in PHP_FUNCTION()
|