Home
last modified time | relevance | path

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

/PHP-8.0/ext/gmp/
H A Dgmp.c591 const char *num_str = ZSTR_VAL(val); in convert_zstr_to_gmp() local
594 if (ZSTR_LEN(val) >= 2 && num_str[0] == '0') { in convert_zstr_to_gmp()
595 if ((base == 0 || base == 16) && (num_str[1] == 'x' || num_str[1] == 'X')) { in convert_zstr_to_gmp()
598 } else if ((base == 0 || base == 2) && (num_str[1] == 'b' || num_str[1] == 'B')) { in convert_zstr_to_gmp()
604 int gmp_ret = mpz_set_str(gmp_number, (skip_lead ? &num_str[2] : num_str), (int) base); in convert_zstr_to_gmp()

Completed in 10 milliseconds