Searched refs:fracpart (Results 1 - 4 of 4) sorted by relevance
/freebsd-12-stable/contrib/unbound/edns-subnet/ |
H A D | edns-subnet.c | 50 size_t fracpart = n % 8; /* bits */ local 54 if (fracpart && (intpart+1 > dstlen || intpart+1 > srclen)) 57 if (fracpart) { 58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart);
|
/freebsd-12-stable/crypto/openssl/crypto/bio/ |
H A D | b_print.c | 562 unsigned long fracpart; local 660 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); 662 if (fracpart >= max10) { 664 fracpart -= max10; 678 if (style == G_FORMAT && fplace == 0 && (fracpart % 10) == 0) { 681 fracpart = fracpart / 10; 686 fconvert[fplace++] = "0123456789"[fracpart % 10]; 687 fracpart = (fracpart / 1 [all...] |
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-snprintf.c | 717 double fracpart; local 762 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); 764 if (fracpart >= POW10(max)) { 766 fracpart -= POW10(max); 783 if (fracpart) 786 temp = fracpart*0.1; 787 my_modf(temp, &fracpart); 788 idx = (int) ((temp -fracpart +0.05)* 10.0); 789 /* idx = (int) ((((temp/10) -fracpart) +0.05) *10); */ 790 /* printf ("%lf, %lf, %ld\n", temp, fracpart, id [all...] |
/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | snprintf.c | 1097 UINTMAX_T fracpart; local 1217 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) { 1225 fracpart = 0; 1290 if (fracpart != 0) /* convert() would return 1 if fracpart == 0. */ 1291 fpos = convert(fracpart, fconvert, sizeof(fconvert), 10, 0);
|
Completed in 129 milliseconds