/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | divmod.c | 44 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(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()
|
H A D | div.c | 82 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 D | bcmath.h | 124 bool bc_modulo(bc_num num1, bc_num num2, bc_num *resul, size_t scale); 126 bool bc_divmod(bc_num num1, bc_num num2, bc_num *quo, bc_num *rem, size_t scale);
|
/PHP-8.3/ext/gmp/ |
H A D | gmp.stub.php | 79 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 D | gmp_arginfo.h | 32 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-8.3/ext/bcmath/ |
H A D | bcmath.stub.php | 6 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 D | bcmath_arginfo.h | 6 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0) 38 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
|
/PHP-8.3/Zend/tests/ |
H A D | bw_or_assign_with_ref.phpt | 7 $num2 = '2'; 8 $ref =& $num2; 9 $num1 |= $num2;
|
/PHP-8.3/ext/random/ |
H A D | php_random.h | 121 …e php_random_uint128_t php_random_uint128_add(php_random_uint128_t num1, php_random_uint128_t num2) in php_random_uint128_add() argument 125 r.lo = (num1.lo + num2.lo); in php_random_uint128_add() 126 r.hi = (num1.hi + num2.hi + (r.lo < num1.lo)); in php_random_uint128_add() 131 …_random_uint128_t php_random_uint128_multiply(php_random_uint128_t num1, php_random_uint128_t num2) in php_random_uint128_multiply() argument 137 y0 = num2.lo & 0xffffffffULL, in php_random_uint128_multiply() 138 y1 = num2.lo >> 32, in php_random_uint128_multiply() 141 r.hi = num1.hi * num2.lo + num1.lo * num2.hi; in php_random_uint128_multiply() 142 r.lo = num1.lo * num2.lo; in php_random_uint128_multiply() 178 …e php_random_uint128_t php_random_uint128_add(php_random_uint128_t num1, php_random_uint128_t num2) in php_random_uint128_add() argument 180 return num1 + num2; in php_random_uint128_add() [all …]
|
/PHP-8.3/ext/standard/tests/serialize/ |
H A D | precision.phpt | 29 $num2 = unserialize(serialize($num)); 30 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
|
/PHP-8.3/ext/bcmath/tests/ |
H A D | bcadd_error.phpt | 23 bcadd(): Argument #2 ($num2) is not well-formed
|
H A D | bccomp_error.phpt | 23 bccomp(): Argument #2 ($num2) is not well-formed
|
H A D | bcdiv_error2.phpt | 23 bcdiv(): Argument #2 ($num2) is not well-formed
|
H A D | bcmod_error3.phpt | 23 bcmod(): Argument #2 ($num2) is not well-formed
|
H A D | bcmul_error.phpt | 23 bcmul(): Argument #2 ($num2) is not well-formed
|
H A D | bcsub_error.phpt | 23 bcsub(): Argument #2 ($num2) is not well-formed
|
H A D | bug80545.phpt | 23 bcadd(): Argument #2 ($num2) is not well-formed
|
/PHP-8.3/ext/standard/ |
H A D | math.c | 386 double num1, num2; in PHP_FUNCTION() local 390 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 392 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION() 631 double num1, num2; in PHP_FUNCTION() local 635 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 638 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION() 1295 double num1, num2; in PHP_FUNCTION() local 1299 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 1302 RETURN_DOUBLE(fmod(num1, num2)); in PHP_FUNCTION()
|
/PHP-8.3/ext/intl/collator/ |
H A D | collator_sort.c | 55 zval num1, num2; in collator_regular_compare_function() local 70 str2_p == ( num2_p = collator_convert_string_to_number_if_possible( str2_p, &num2 ) ) ) ) in collator_regular_compare_function() 138 zval num1, num2; in collator_numeric_compare_function() local 150 num2_p = collator_convert_string_to_double( op2, &num2 ); in collator_numeric_compare_function()
|
/PHP-8.3/ext/gmp/tests/ |
H A D | gmp_hamdist.phpt | 45 gmp_hamdist(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_gcdext.phpt | 65 gmp_gcdext(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_sub.phpt | 52 gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given
|
H A D | gmp_jacobi.phpt | 59 gmp_jacobi(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_legendre.phpt | 59 gmp_legendre(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_xor.phpt | 53 gmp_xor(): Argument #2 ($num2) must be of type GMP|string|int, array given
|