Searched refs:expo (Results 1 – 3 of 3) sorted by relevance
105 void bc_raise_bc_exponent(bc_num base, bc_num expo, bc_num *result, size_t scale) in bc_raise_bc_exponent() argument108 assert(expo->n_scale == 0); in bc_raise_bc_exponent()110 long exponent = bc_num2long(expo); in bc_raise_bc_exponent()112 if (exponent == 0 && (expo->n_len > 1 || expo->n_value[0] != 0)) { in bc_raise_bc_exponent()
37 raise_mod_status bc_raisemod(bc_num base, bc_num expo, bc_num mod, bc_num *result, size_t scale) in bc_raisemod() argument47 if (expo->n_scale != 0) { in bc_raisemod()50 if (bc_is_neg(expo)) { in bc_raisemod()64 exponent = bc_copy_num(expo); in bc_raisemod()
2 bc_raisemod's expo can't be negative
Completed in 18 milliseconds