Searched refs:fracpart (Results 1 – 6 of 6) sorted by relevance
700 long intpart, fracpart; in fmtfp() local731 fracpart = round((pow10 (max)) * (ufvalue - intpart)); in fmtfp()733 if (fracpart >= pow10 (max)) { in fmtfp()735 fracpart -= pow10 (max); in fmtfp()753 [fracpart % 10]; in fmtfp()754 fracpart = (fracpart / 10); in fmtfp()755 } while(fracpart && (fplace < 20)); in fmtfp()
557 fracpart = m.group('frac') or ''559 self._int = str(int(intpart+fracpart))560 self._exp = exp - len(fracpart)1035 fracpart = '.' + '0'*(-dotplace) + self._int1038 fracpart = ''1041 fracpart = '.' + self._int[dotplace:]1049 return sign + intpart + fracpart + exp3683 fracpart = '0'*(-dotplace) + self._int3686 fracpart = ''3689 fracpart = self._int[dotplace:][all …]
526 double fracpart; in float_richcompare() local541 fracpart = modf(i, &intpart); in float_richcompare()546 if (fracpart != 0.0) { in float_richcompare()
527 double fracpart; in float_richcompare() local542 fracpart = modf(i, &intpart); in float_richcompare()547 if (fracpart != 0.0) { in float_richcompare()
1864 double fracpart; in accum() local1880 fracpart = modf(dnum, &intpart); in accum()1895 if (fracpart == 0.0) in accum()1907 dnum *= fracpart; in accum()1908 fracpart = modf(dnum, &intpart); in accum()1918 *leftover += fracpart; in accum()