Lines Matching defs:eval
151 int eval = (int)floor(log10(fabs(val)));
152 if (val == 0.0 || eval < min_exp) {
156 eval<0?tprec+(unsigned int)-eval+1:
157 eval+1<(int)tprec?tprec+1:
158 (unsigned int)eval+1;
159 unsigned int maxnumdigitsWithExp = tprec + ( eval<0 ? 4 : 3 ); // It's not necessary to take larger exponents into account, because then maxnumdigitsWithoutExp is DEFINITELY larger
163 val = eval < 0 ? val * pow(10.0, -eval) : val / pow(10.0, eval);
166 p += sp_svg_number_write_i(buf + p, bufLen - p, eval);