Searched refs:num_str (Results 1 – 1 of 1) sorted by relevance
643 const char *num_str = ZSTR_VAL(val); in convert_zstr_to_gmp() local646 if (ZSTR_LEN(val) >= 2 && num_str[0] == '0') { in convert_zstr_to_gmp()647 if ((base == 0 || base == 16) && (num_str[1] == 'x' || num_str[1] == 'X')) { in convert_zstr_to_gmp()650 } else if ((base == 0 || base == 8) && (num_str[1] == 'o' || num_str[1] == 'O')) { in convert_zstr_to_gmp()653 } else if ((base == 0 || base == 2) && (num_str[1] == 'b' || num_str[1] == 'B')) { in convert_zstr_to_gmp()659 int gmp_ret = mpz_set_str(gmp_number, (skip_lead ? &num_str[2] : num_str), (int) base); in convert_zstr_to_gmp()
Completed in 8 milliseconds