Home
last modified time | relevance | path

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

/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/crypto/openssl/crypto/bio/
H A Dbio_print.c568 LDOUBLE ufvalue; in fmtfp() local
656 ufvalue = abs_val(fvalue); in fmtfp()
661 if (ufvalue >= (double)(ULONG_MAX - 65535) + 65536.0) { in fmtfp()
666 intpart = (unsigned long)ufvalue; in fmtfp()
680 fracpart = roundv(pow_10(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()