Home
last modified time | relevance | path

Searched refs:num2 (Results 1 – 25 of 36) sorted by relevance

12

/php-src/ext/random/
H A Dphp_random_uint128.h51 …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
55 r.lo = (num1.lo + num2.lo); in php_random_uint128_add()
56 r.hi = (num1.hi + num2.hi + (r.lo < num1.lo)); in php_random_uint128_add()
61 …_random_uint128_t php_random_uint128_multiply(php_random_uint128_t num1, php_random_uint128_t num2) in php_random_uint128_multiply() argument
67 y0 = num2.lo & 0xffffffffULL, in php_random_uint128_multiply()
68 y1 = num2.lo >> 32, in php_random_uint128_multiply()
71 r.hi = num1.hi * num2.lo + num1.lo * num2.hi; in php_random_uint128_multiply()
72 r.lo = num1.lo * num2.lo; in php_random_uint128_multiply()
108 …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
110 return num1 + num2; in php_random_uint128_add()
[all …]
/php-src/ext/bcmath/libbcmath/src/
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()
86 bool bc_modulo(bc_num num1, bc_num num2, bc_num *result, size_t scale) in bc_modulo() argument
88 return bc_divmod(num1, num2, NULL, result, scale); in bc_modulo()
H A Dbcmath.h152 bool bc_modulo(bc_num num1, bc_num num2, bc_num *resul, size_t scale);
154 bool bc_divmod(bc_num num1, bc_num num2, bc_num *quo, bc_num *rem, size_t scale);
/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/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.php8 function bcadd(string $num1, string $num2, ?int $scale = null): string {} argument
11 function bcsub(string $num1, string $num2, ?int $scale = null): string {} argument
14 function bcmul(string $num1, string $num2, ?int $scale = null): string {} argument
17 function bcdiv(string $num1, string $num2, ?int $scale = null): string {} argument
20 function bcmod(string $num1, string $num2, ?int $scale = null): string {} argument
26 function bcdivmod(string $num1, string $num2, ?int $scale = null): array {} argument
37 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)
20 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
44 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
/php-src/ext/standard/tests/serialize/
H A Dprecision.phpt30 $num2 = unserialize(serialize($num));
31 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
/php-src/ext/bcmath/tests/number/operators/
H A Dmul_object.phpt20 $num2 = new BcMath\Number($value2);
21 $ret = $num1 * $num2;
H A Dadd_object.phpt20 $num2 = new BcMath\Number($value2);
21 $ret = $num1 + $num2;
H A Dsub_object.phpt20 $num2 = new BcMath\Number($value2);
21 $ret = $num1 - $num2;
H A Dmod_object.phpt20 $num2 = new BcMath\Number($value2);
21 $ret = $num1 % $num2;
H A Ddiv_object.phpt21 $num2 = new BcMath\Number($value2);
22 $ret = $num1 / $num2;
H A Dpow_object.phpt29 $num2 = new BcMath\Number($exponent);
30 $ret = $num1 ** $num2;
/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/standard/
H A Dmath.c467 double num1, num2; in PHP_FUNCTION() local
471 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION()
473 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION()
712 double num1, num2; in PHP_FUNCTION() local
716 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION()
719 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION()
1397 double num1, num2; in PHP_FUNCTION() local
1401 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION()
1404 RETURN_DOUBLE(fmod(num1, num2)); in PHP_FUNCTION()
/php-src/ext/intl/collator/
H A Dcollator_sort.c55 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-src/ext/gmp/tests/
H A Dgmp_hamdist.phpt45 gmp_hamdist(): Argument #2 ($num2) must be of type GMP|string|int, array given

Completed in 33 milliseconds

12