Home
last modified time | relevance | path

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

/PHP-8.0/ext/bcmath/libbcmath/src/
H A Dstr2num.c45 int digits, strscale; in bc_str2num() local
55 strscale = 0; in bc_str2num()
61 while (*ptr >= '0' && *ptr <= '9') ptr++, strscale++; /* digits */ in bc_str2num()
62 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num()
69 strscale = MIN(strscale, scale); in bc_str2num()
75 *num = bc_new_num (digits, strscale); in bc_str2num()
101 if (strscale > 0) in bc_str2num()
104 for (;strscale > 0; strscale--) in bc_str2num()

Completed in 4 milliseconds