/PHP-8.0/ext/bcmath/libbcmath/src/ |
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 54 if (bc_is_zero (num2)) return -1; in bc_divmod() 57 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod() 61 bc_divide (num1, num2, &temp, 0); in bc_divmod() 64 bc_multiply (temp, num2, &temp, 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 56 if (num2->n_scale != 0) { in bc_raise() 61 exponent = bc_num2long (num2); in bc_raise() 62 if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) { in bc_raise()
|
H A D | div.c | 90 unsigned char *num1, *num2; in bc_divide() local 134 num2 = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide() 135 memcpy (num2, n2->n_value, len2); in bc_divide() 136 *(num2+len2) = 0; in bc_divide() 137 n2ptr = num2; in bc_divide() 266 efree (num2); in bc_divide()
|
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/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 70 function gmp_jacobi(GMP|int|string $num1, GMP|int|string $num2): int {} 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 [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.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 | 6 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0) 38 ZEND_ARG_TYPE_INFO(0, num2, IS_STRING, 0)
|
/PHP-8.0/Zend/tests/ |
H A D | bw_or_assign_with_ref.phpt | 7 $num2 = '2'; 8 $ref =& $num2; 9 $num1 |= $num2;
|
/PHP-8.0/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.0/ext/standard/ |
H A D | math.c | 391 double num1, num2; in PHP_FUNCTION() local 395 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 397 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION() 636 double num1, num2; in PHP_FUNCTION() local 640 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 643 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION() 1166 double num1, num2; in PHP_FUNCTION() local 1170 Z_PARAM_DOUBLE(num2) in PHP_FUNCTION() 1173 RETURN_DOUBLE(fmod(num1, num2)); in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 1075 function intdiv(int $num1, int $num2): int {} argument 1111 function fmod(float $num1, float $num2): float {} argument 1113 function fdiv(float $num1, float $num2): float {} argument
|
H A D | basic_functions_arginfo.h | 1653 ZEND_ARG_TYPE_INFO(0, num2, IS_LONG, 0) 1718 ZEND_ARG_TYPE_INFO(0, num2, IS_DOUBLE, 0)
|
/PHP-8.0/ext/bcmath/tests/ |
H A D | bug80545.phpt | 25 bcadd(): Argument #2 ($num2) is not well-formed
|
/PHP-8.0/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.0/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 | 66 gmp_gcdext(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_invert.phpt | 57 gmp_invert(): Argument #2 ($num2) must be of type GMP|string|int, array 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_sub.phpt | 52 gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given
|
H A D | gmp_xor.phpt | 53 gmp_xor(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_and.phpt | 54 gmp_and(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
H A D | gmp_or.phpt | 53 gmp_or(): Argument #2 ($num2) must be of type GMP|string|int, array given
|
/PHP-8.0/Zend/ |
H A D | micro_bench.php | 266 $num2 = number_format($last_time - $overhead,3); 267 echo $name.$pad.$num." ".$num2."\n";
|