/PHP-8.0/ext/bcmath/libbcmath/src/ |
H A D | raise.c | 49 long exponent; in bc_raise() local 61 exponent = bc_num2long (num2); in bc_raise() 69 if (exponent == 0) in bc_raise() 77 if (exponent < 0) in bc_raise() 80 exponent = -exponent; in bc_raise() 92 while ((exponent & 1) == 0) in bc_raise() 96 exponent = exponent >> 1; in bc_raise() 100 exponent = exponent >> 1; in bc_raise() 103 while (exponent > 0) in bc_raise() 107 if ((exponent & 1) == 1) { in bc_raise() [all …]
|
H A D | raisemod.c | 44 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local 77 exponent = bc_copy_num (expo); in bc_raisemod() 91 while ( !bc_is_zero(exponent) ) in bc_raisemod() 93 (void) bc_divmod (exponent, BCG(_two_), &exponent, &parity, 0); in bc_raisemod() 107 bc_free_num (&exponent); in bc_raisemod()
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_pow.phpt | 52 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 56 gmp_pow(): Argument #2 ($exponent) must be greater than or equal to 0 59 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.0/ext/bcmath/ |
H A D | bcmath.stub.php | 15 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} argument 17 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)
|
/PHP-8.0/ext/bcmath/tests/ |
H A D | bcpow_variation001.phpt | 2 bcpow() with a negative exponent
|
H A D | bcpow_error2.phpt | 16 bcpow(): Argument #2 ($exponent) is too large
|
H A D | bcpow_error1.phpt | 16 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 | bug72093.phpt | 22 bcpowmod(): Argument #2 ($exponent) cannot have a fractional part
|
/PHP-8.0/main/ |
H A D | snprintf.h | 83 PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf); 84 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf);
|
H A D | snprintf.c | 131 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt() argument 174 *dst++ = exponent; in php_gcvt()
|
/PHP-8.0/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.0/ext/gmp/ |
H A D | gmp.stub.php | 52 function gmp_pow(GMP|int|string $num, int $exponent): GMP {} argument 54 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.0/ext/standard/ |
H A D | basic_functions.stub.php | 1079 function pow(mixed $num, mixed $exponent): int|float|object {} argument
|
H A D | basic_functions_arginfo.h | 1660 ZEND_ARG_TYPE_INFO(0, exponent, IS_MIXED, 0)
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 20985 # Block size exponent, E1; appears to always be 0x09; minimum block size 512 bytes 20987 # Block size exponent, E2 ; file blocksize=2**(E1+E2) 24619 >>>32 uleshort !6 \b, exponent of short stream %u
|
H A D | magic | 20985 # Block size exponent, E1; appears to always be 0x09; minimum block size 512 bytes 20987 # Block size exponent, E2 ; file blocksize=2**(E1+E2) 24619 >>>32 uleshort !6 \b, exponent of short stream %u
|