Searched refs:fracpart (Results 1 – 5 of 5) sorted by relevance
50 size_t fracpart = n % 8; /* bits */ in copy_clear() local54 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()
51 long double fracpart = remquol(x, 0.5L, &quo); in sin_pi_x_over_pi() local58 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()
580 unsigned long fracpart; in fmtfp() local680 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()
722 double fracpart; in fmtfp() local767 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()
1097 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()