Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/edns-subnet/
H A Dedns-subnet.c50 size_t fracpart = n % 8; /* bits */ in copy_clear() local
54 if (fracpart && (intpart+1 > dstlen || intpart+1 > srclen)) in copy_clear()
57 if (fracpart) { in copy_clear()
58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart); in copy_clear()
/freebsd/contrib/arm-optimized-routines/math/
H A Dtgamma128.c51 long double fracpart = remquol(x, 0.5L, &quo); in sin_pi_x_over_pi() local
58 if (quo == 0 && fabsl(fracpart) < 0x1.p-58L) { in sin_pi_x_over_pi()
61 return sign * fracpart; in sin_pi_x_over_pi()
65 return sign * sinl(pi*fracpart) / pi; in sin_pi_x_over_pi()
67 return sign * cosl(pi*fracpart) / pi; in sin_pi_x_over_pi()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_print.c580 unsigned long fracpart; in fmtfp() local
680 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); in fmtfp()
682 if (fracpart >= max10) { in fmtfp()
684 fracpart -= max10; in fmtfp()
698 if (style == G_FORMAT && fplace == 0 && (fracpart % 10) == 0) { in fmtfp()
701 fracpart = fracpart / 10; in fmtfp()
706 fconvert[fplace++] = "0123456789"[fracpart % 10]; in fmtfp()
707 fracpart = (fracpart / 10); in fmtfp()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-snprintf.c722 double fracpart; in fmtfp() local
767 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); in fmtfp()
769 if (fracpart >= POW10(max)) { in fmtfp()
771 fracpart -= POW10(max); in fmtfp()
787 if (fracpart) in fmtfp()
790 temp = fracpart*0.1; in fmtfp()
791 my_modf(temp, &fracpart); in fmtfp()
792 idx = (int) ((temp -fracpart +0.05)* 10.0); in fmtfp()
796 } while(fracpart && (fplace < 311)); in fmtfp()
/freebsd/contrib/ntp/libntp/
H A Dsnprintf.c1097 UINTMAX_T fracpart; in fmtflt() local
1217 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) { in fmtflt()
1225 fracpart = 0; in fmtflt()
1290 if (fracpart != 0) /* convert() would return 1 if fracpart == 0. */ in fmtflt()
1291 fpos = convert(fracpart, fconvert, sizeof(fconvert), 10, 0); in fmtflt()