Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 11 of 11) sorted by relevance

/PHP-7.2/ext/bcmath/libbcmath/src/
H A Draise.c50 long exponent; in bc_raise() local
59 exponent = bc_num2long (num2); in bc_raise()
64 if (exponent == 0) in bc_raise()
72 if (exponent < 0) in bc_raise()
75 exponent = -exponent; in bc_raise()
87 while ((exponent & 1) == 0) in bc_raise()
91 exponent = exponent >> 1; in bc_raise()
95 exponent = exponent >> 1; in bc_raise()
98 while (exponent > 0) in bc_raise()
102 if ((exponent & 1) == 1) { in bc_raise()
[all …]
H A Draisemod.c48 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
57 exponent = bc_copy_num (expo); in bc_raisemod()
70 if (exponent->n_scale != 0) in bc_raisemod()
73 bc_divide (exponent, BCG(_one_), &exponent, 0); /*truncate */ 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-7.2/ext/bcmath/tests/
H A Dbcpow_variation001.phpt2 bcpow() with a negative exponent
H A Dbug72093.phpt21 bc math warning: non-zero scale in exponent
/PHP-7.2/main/
H A Dsnprintf.h88 PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf);
89 PHPAPI char * php_0cvt(double value, int ndigit, char dec_point, char exponent, char *buf);
H A Dsnprintf.c142 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt() argument
185 *dst++ = exponent; in php_gcvt()
/PHP-7.2/ext/gmp/tests/
H A Dgmp_pow.phpt40 Warning: gmp_pow(): Negative exponent not supported in %s on line %d
46 Warning: gmp_pow(): Negative exponent not supported in %s on line %d
/PHP-7.2/ext/standard/tests/math/
H A Dpow_basic.phpt41 foreach($exponents as $exponent) {
42 echo "\n..... Exponent = $exponent Result = ";
43 $res = pow($base, $exponent);
H A Dpow_basic_64bit.phpt41 foreach($exponents as $exponent) {
42 echo "\n..... Exponent = $exponent Result = ";
43 $res = pow($base, $exponent);
/PHP-7.2/ext/standard/
H A Dbasic_functions.c1683 ZEND_ARG_INFO(0, exponent)
/PHP-7.2/
H A DNEWS1615 . Fixed bug #74300 (unserialize accepts two plus/minus signs for float number exponent part).

Completed in 43 milliseconds