Home
last modified time | relevance | path

Searched refs:num2 (Results 1 – 25 of 31) sorted by path

12

/php-src/Zend/
H A Dmicro_bench.php266 $num2 = number_format($last_time - $overhead,3);
267 echo $name.$pad.$num." ".$num2."\n";
/php-src/Zend/tests/
H A Dbw_or_assign_with_ref.phpt7 $num2 = '2';
8 $ref =& $num2;
9 $num1 |= $num2;
/php-src/ext/bcmath/
H A Dbcmath.stub.php6 function bcadd(string $num1, string $num2, ?int $scale = null): string {} argument
9 function bcsub(string $num1, string $num2, ?int $scale = null): string {} argument
12 function bcmul(string $num1, string $num2, ?int $scale = null): string {} argument
15 function bcdiv(string $num1, string $num2, ?int $scale = null): string {} argument
18 function bcmod(string $num1, string $num2, ?int $scale = null): string {} argument
29 function bccomp(string $num1, string $num2, ?int $scale = null): int {} argument
H A Dbcmath_arginfo.h6 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
38 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
/php-src/ext/bcmath/libbcmath/src/
H A Dbcmath.h144 bool bc_modulo(bc_num num1, bc_num num2, bc_num *resul, size_t scale);
146 bool bc_divmod(bc_num num1, bc_num num2, bc_num *quo, bc_num *rem, size_t scale);
H A Ddiv.c82 unsigned char *num1, *num2; in bc_divide() local
124 num2 = (unsigned char *) safe_emalloc(1, len2, 1); in bc_divide()
125 memcpy(num2, n2->n_value, len2); in bc_divide()
126 *(num2 + len2) = 0; in bc_divide()
127 n2ptr = num2; in bc_divide()
247 efree(num2); in bc_divide()
H A Ddivmod.c44 bool bc_divmod(bc_num num1, bc_num num2, bc_num *quot, bc_num *rem, size_t scale) in bc_divmod() argument
51 if (bc_is_zero(num2)) { in bc_divmod()
56 rscale = MAX (num1->n_scale, num2->n_scale + scale); in bc_divmod()
60 bc_divide(num1, num2, &temp, 0); in bc_divmod()
64 bc_multiply_ex(temp, num2, &temp, rscale); in bc_divmod()
80 bool bc_modulo(bc_num num1, bc_num num2, bc_num *result, size_t scale) in bc_modulo() argument
82 return bc_divmod(num1, num2, NULL, result, scale); in bc_modulo()
/php-src/ext/bcmath/tests/
H A Dbcadd_error.phpt23 bcadd(): Argument #2 ($num2) is not well-formed
H A Dbccomp_error.phpt23 bccomp(): Argument #2 ($num2) is not well-formed
H A Dbcdiv_error2.phpt23 bcdiv(): Argument #2 ($num2) is not well-formed
H A Dbcmod_error3.phpt23 bcmod(): Argument #2 ($num2) is not well-formed
H A Dbcmul_error.phpt23 bcmul(): Argument #2 ($num2) is not well-formed
H A Dbcsub_error.phpt23 bcsub(): Argument #2 ($num2) is not well-formed
H A Dbug80545.phpt23 bcadd(): Argument #2 ($num2) is not well-formed
/php-src/ext/gmp/
H A Dgmp.stub.php79 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
81 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
83 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
98 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
134 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
142 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
146 function gmp_jacobi(GMP|int|string $num1, GMP|int|string $num2): int {} argument
152 function gmp_cmp(GMP|int|string $num1, GMP|int|string $num2): int {} argument
162 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
164 function gmp_or(GMP|int|string $num1, GMP|int|string $num2): GMP {} argument
[all …]
H A Dgmp_arginfo.h32 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
41 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
47 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
109 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
116 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
121 ZEND_ARG_OBJ_TYPE_MASK(0, num2, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
/php-src/ext/gmp/tests/
H A Dgmp_and.phpt54 gmp_and(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_gcdext.phpt65 gmp_gcdext(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_hamdist.phpt45 gmp_hamdist(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_invert.phpt65 gmp_invert(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_jacobi.phpt59 gmp_jacobi(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_legendre.phpt59 gmp_legendre(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_or.phpt53 gmp_or(): Argument #2 ($num2) must be of type GMP|string|int, array given
H A Dgmp_sub.phpt52 gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given
H A Dgmp_xor.phpt53 gmp_xor(): Argument #2 ($num2) must be of type GMP|string|int, array given

Completed in 36 milliseconds

12