Home
last modified time | relevance | path

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

/PHP-7.3/ext/bcmath/libbcmath/src/
H A Dstr2num.c46 int digits, strscale; in bc_str2num() local
56 strscale = 0; in bc_str2num()
62 while (*ptr >= '0' && *ptr <= '9') ptr++, strscale++; /* digits */ in bc_str2num()
63 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num()
70 strscale = MIN(strscale, scale); in bc_str2num()
76 *num = bc_new_num (digits, strscale); in bc_str2num()
102 if (strscale > 0) in bc_str2num()
105 for (;strscale > 0; strscale--) in bc_str2num()

Completed in 4 milliseconds