Searched refs:ufvalue (Results 1 – 3 of 3) sorted by relevance
568 LDOUBLE ufvalue; in fmtfp() local593 ufvalue = abs_val(fvalue); in fmtfp()594 if (ufvalue == 0 && fvalue != 0) /* INF or NAN? */ in fmtfp()603 if (ufvalue == 0.0) { in fmtfp()605 } else if (ufvalue < 0.0001) { in fmtfp()607 } else if ((max == 0 && ufvalue >= 10) in fmtfp()608 || (max > 0 && ufvalue >= pow_10(max))) { in fmtfp()618 tmpvalue = ufvalue; in fmtfp()620 if (ufvalue != 0.0) { in fmtfp()657 ufvalue = tmpvalue; in fmtfp()[all …]
710 double ufvalue; in fmtfp() local732 ufvalue = abs_val (fvalue); in fmtfp()750 if (max == 0) ufvalue += 0.5; /* if max = 0 we must round */ in fmtfp()764 temp = ufvalue; in fmtfp()767 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); in fmtfp()
1095 LDOUBLE ufvalue; in fmtflt() local 1199 ufvalue = (fvalue >= 0.0) ? fvalue : -fvalue; in fmtflt() 1201 ufvalue /= mypow10(exponent); in fmtflt() 1203 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) { in fmtflt() 1217 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) { in fmtflt() 1219 * For example, ufvalue = 2.99962, intpart = 2, and mask = 1000 in fmtflt()