Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/bio/
H A Dbio_print.c568 LDOUBLE ufvalue; in fmtfp() local
593 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 …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-snprintf.c710 double ufvalue; in fmtfp() local
732 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()
/freebsd/contrib/ntp/libntp/
H A Dsnprintf.c1095 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()