Searched refs:fracpart (Results 1 – 7 of 7) sorted by relevance
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()
564 fracpart = m.group('frac') or ''566 self._int = str(int(intpart+fracpart))567 self._exp = exp - len(fracpart)1067 fracpart = '.' + '0'*(-dotplace) + self._int1070 fracpart = ''1073 fracpart = '.' + self._int[dotplace:]1081 return sign + intpart + fracpart + exp3817 fracpart = '0'*(-dotplace) + self._int3820 fracpart = ''3823 fracpart = self._int[dotplace:][all …]
78 fracpart = digits(fraclen)79 return ''.join((intpart, '.', fracpart))
471 double fracpart; in float_richcompare() local485 fracpart = modf(i, &intpart); in float_richcompare()490 if (fracpart != 0.0) { in float_richcompare()
2351 double fracpart; in accum() local2367 fracpart = modf(dnum, &intpart); in accum()2382 if (fracpart == 0.0) in accum()2391 dnum *= fracpart; in accum()2392 fracpart = modf(dnum, &intpart); in accum()2402 *leftover += fracpart; in accum()
19220 - ProcFS IRQs: Fix occasional computation error when fracpart >=