/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | raise.c | 51 if (exponent == 0) { in bc_raise() 58 if (exponent < 0) { in bc_raise() 60 exponent = -exponent; in bc_raise() 70 while ((exponent & 1) == 0) { in bc_raise() 73 exponent = exponent >> 1; in bc_raise() 77 exponent = exponent >> 1; in bc_raise() 80 while (exponent > 0) { in bc_raise() 83 if ((exponent & 1) == 1) { in bc_raise() 87 exponent = exponent >> 1; in bc_raise() 110 long exponent = bc_num2long(expo); in bc_raise_bc_exponent() local [all …]
|
H A D | raisemod.c | 39 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local 64 exponent = bc_copy_num(expo); in bc_raisemod() 75 while (!bc_is_zero(exponent)) { in bc_raisemod() 76 (void) bc_divmod(exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod() 88 bc_free_num (&exponent); in bc_raisemod()
|
H A D | bcmath.h | 137 raise_mod_status bc_raisemod(bc_num base, bc_num exponent, bc_num mod, bc_num *result, size_t scale… 139 void bc_raise(bc_num base, long exponent, bc_num *resul, size_t scale); 141 void bc_raise_bc_exponent(bc_num base, bc_num exponent, bc_num *resul, size_t scale);
|
/PHP-8.3/ext/gmp/tests/ |
H A D | gmp_pow_32bits.phpt | 68 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 70 base and exponent overflow 71 base and exponent overflow 72 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 73 base and exponent overflow 74 base and exponent overflow 75 gmp_pow(): Argument #2 ($exponent) must be of type int, array given
|
H A D | gmp_pow_fpe.phpt | 32 base and exponent overflow 33 base and exponent overflow 34 base and exponent overflow 35 base and exponent overflow
|
H A D | gmp_pow.phpt | 54 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 58 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 61 gmp_pow(): Argument #2 ($exponent) must be of type int, array given
|
H A D | gmp_pown.phpt | 79 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, array given 80 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, TypeError given 82 gmp_powm(): Argument #2 ($exponent) must be greater than or equal to 0
|
/PHP-8.3/ext/bcmath/tests/ |
H A D | bcpow_error2.phpt | 20 bcpow(): Argument #2 ($exponent) is too large 21 bcpow(): Argument #2 ($exponent) is too large
|
H A D | bcpow_error1.phpt | 19 bcpow(): Argument #2 ($exponent) cannot have a fractional part 20 bcpow(): Argument #2 ($exponent) cannot have a fractional part
|
H A D | bcpowmod_negative_exponent.phpt | 16 bcpowmod(): Argument #2 ($exponent) must be greater than or equal to 0
|
H A D | bcpow_error3.phpt | 23 bcpow(): Argument #2 ($exponent) is not well-formed
|
H A D | bug72093.phpt | 20 bcpowmod(): Argument #2 ($exponent) cannot have a fractional part
|
H A D | bcpowmod_error.phpt | 29 bcpowmod(): Argument #2 ($exponent) is not well-formed
|
/PHP-8.3/ext/bcmath/ |
H A D | bcmath.stub.php | 21 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} argument 24 function bcpow(string $num, string $exponent, ?int $scale = null): string {} argument
|
H A D | bcmath_arginfo.h | 20 ZEND_ARG_TYPE_INFO(0, exponent, IS_STRING, 0) 27 ZEND_ARG_TYPE_INFO(0, exponent, IS_STRING, 0)
|
H A D | bcmath.c | 538 long exponent = bc_num2long(bc_exponent); in PHP_FUNCTION() local 539 if (exponent == 0 && (bc_exponent->n_len > 1 || bc_exponent->n_value[0] != 0)) { in PHP_FUNCTION() 544 bc_raise(first, exponent, &result, scale); in PHP_FUNCTION()
|
/PHP-8.3/Zend/ |
H A D | zend_strtod.h | 28 ZEND_API char *zend_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf);
|
H A D | zend_strtod.c | 4517 ZEND_API char *zend_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) in zend_gcvt() argument 4561 *dst++ = exponent; in zend_gcvt()
|
/PHP-8.3/ext/standard/tests/math/ |
H A D | pow_basic.phpt | 41 foreach($exponents as $exponent) { 42 echo "\n..... Exponent = $exponent Result = "; 43 $res = pow($base, $exponent);
|
H A D | pow_basic_64bit.phpt | 41 foreach($exponents as $exponent) { 42 echo "\n..... Exponent = $exponent Result = "; 43 $res = pow($base, $exponent);
|
/PHP-8.3/main/ |
H A D | snprintf.h | 78 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf);
|
/PHP-8.3/ext/gmp/ |
H A D | gmp.stub.php | 124 function gmp_pow(GMP|int|string $num, int $exponent): GMP {} argument 126 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {} argument
|
H A D | gmp_arginfo.h | 85 ZEND_ARG_TYPE_INFO(0, exponent, IS_LONG, 0) 90 ZEND_ARG_OBJ_TYPE_MASK(0, exponent, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
|
/PHP-8.3/ext/standard/ |
H A D | basic_functions.stub.php | 3140 function pow(mixed $num, mixed $exponent): int|float|object {}
|
H A D | basic_functions_arginfo.h | 1672 ZEND_ARG_TYPE_INFO(0, exponent, IS_MIXED, 0)
|