reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
767 if ((res = mp_int_read_cstring(MP_NUMER_P(r), radix, str, &endp)) != MP_OK && 768 (res != MP_TRUNC)) 769 return res; 777 return res; 805 if ((res = mp_int_init(&frac)) != MP_OK) 806 return res; 808 if ((res = mp_int_read_cstring(&frac, radix, endp, &endp)) != MP_OK && 809 (res != MP_TRUNC)) 813 save_res = res; 820 if ((res = mp_int_div_value(&frac, radix, &frac, NULL)) != MP_OK) 832 if ((res = mp_int_mul_value(MP_DENOM_P(r), radix, MP_DENOM_P(r))) != MP_OK) 838 if ((res = mp_int_mul_value(MP_DENOM_P(r), radix, MP_DENOM_P(r))) != MP_OK) 847 if ((res = mp_int_mul(MP_NUMER_P(r), MP_DENOM_P(r), MP_NUMER_P(r))) != MP_OK) 852 if ((res = mp_int_add(MP_NUMER_P(r), &frac, MP_NUMER_P(r))) != MP_OK) 857 if ((res = s_rat_reduce(r)) != MP_OK) 864 res = save_res; 871 return res;