Home
last modified time | relevance | path

Searched refs:expo (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/bcmath/tests/number/methods/
H A Dpowmod.phpt38 12, expo is 2(int), mod is 2(int):
46 12, expo is 2(int), mod is 3(string):
54 12, expo is 2(int), mod is 2(object):
62 12, expo is 0(string), mod is 2(int):
70 12, expo is 0(string), mod is 3(string):
86 12, expo is 3(string), mod is 2(int):
110 12, expo is 2(object), mod is 2(int):
134 12, expo is 0(object), mod is 2(int):
158 -12, expo is 2(int), mod is 2(int):
166 -12, expo is 2(int), mod is 3(string):
[all …]
/php-src/ext/bcmath/libbcmath/src/
H A Draise.c111 void bc_raise_bc_exponent(bc_num base, bc_num expo, bc_num *result, size_t scale) { in bc_raise_bc_exponent() argument
113 assert(expo->n_scale == 0); in bc_raise_bc_exponent()
115 long exponent = bc_num2long(expo); in bc_raise_bc_exponent()
117 if (exponent == 0 && (expo->n_len > 1 || expo->n_value[0] != 0)) { in bc_raise_bc_exponent()
H A Draisemod.c37 raise_mod_status bc_raisemod(bc_num base, bc_num expo, bc_num mod, bc_num *result, size_t scale) in bc_raisemod() argument
46 if (expo->n_scale != 0) { in bc_raisemod()
49 if (bc_is_neg(expo)) { in bc_raisemod()
70 exponent = bc_copy_num(expo); in bc_raisemod()
/php-src/ext/bcmath/tests/
H A Dbcpowmod_negative_exponent.phpt2 bc_raisemod's expo can't be negative

Completed in 5 milliseconds