Searched refs:intpart (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/unbound/edns-subnet/
H A Dedns-subnet.c49 size_t intpart = n / 8; /* bytes */ local
51 size_t written = intpart;
52 if (intpart > dstlen || intpart > srclen)
54 if (fracpart && (intpart+1 > dstlen || intpart+1 > srclen))
56 memcpy(dst, src, intpart);
58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart);
/freebsd-12-stable/crypto/openssh/openbsd-compat/
H A Dbsd-snprintf.c654 LLONG intpart; local
656 intpart = (LLONG)value;
657 value = value - intpart;
658 if (value >= 0.5) intpart++;
660 return intpart;
716 double intpart; local
760 my_modf(temp, &intpart);
762 fracpart = ROUND((POW10(max)) * (ufvalue - intpart));
765 intpart++;
771 temp = intpart*0.
[all...]
/freebsd-12-stable/crypto/openssl/crypto/bio/
H A Db_print.c535 long intpart; local
536 intpart = (long)value;
537 value = value - intpart;
539 intpart++;
540 return intpart;
561 unsigned long intpart; local
646 intpart = (unsigned long)ufvalue;
660 fracpart = roundv(pow_10(max) * (ufvalue - intpart));
663 intpart++;
669 iconvert[iplace++] = "0123456789"[intpart
[all...]
/freebsd-12-stable/contrib/ntp/libntp/
H A Dsnprintf.c1096 UINTMAX_T intpart; local
1203 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) {
1217 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) {
1219 * For example, ufvalue = 2.99962, intpart = 2, and mask = 1000
1224 intpart++;
1226 if (estyle && intpart == 10) {
1233 intpart = 1;
1289 ipos = convert(intpart, iconvert, sizeof(iconvert), 10, 0);
1476 UINTMAX_T intpart = cast(value); local
1478 return ((value -= intpart) < 0.
[all...]

Completed in 31 milliseconds