Home
last modified time | relevance | path

Searched refs:fracpart (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/bio/
Dbio_print.c580 unsigned long fracpart; in fmtfp() local
680 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()
/third_party/openssl/crypto/bio/
Dbio_print.c580 unsigned long fracpart; in fmtfp() local
680 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()
/third_party/python/Lib/
D_pydecimal.py564 fracpart = m.group('frac') or ''
566 self._int = str(int(intpart+fracpart))
567 self._exp = exp - len(fracpart)
1067 fracpart = '.' + '0'*(-dotplace) + self._int
1070 fracpart = ''
1073 fracpart = '.' + self._int[dotplace:]
1081 return sign + intpart + fracpart + exp
3817 fracpart = '0'*(-dotplace) + self._int
3820 fracpart = ''
3823 fracpart = self._int[dotplace:]
[all …]
/third_party/python/Modules/_decimal/tests/
Dranddec.py78 fracpart = digits(fraclen)
79 return ''.join((intpart, '.', fracpart))
/third_party/python/Objects/
Dfloatobject.c471 double fracpart; in float_richcompare() local
485 fracpart = modf(i, &intpart); in float_richcompare()
490 if (fracpart != 0.0) { in float_richcompare()
/third_party/python/Modules/
D_datetimemodule.c2351 double fracpart; in accum() local
2367 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()
/third_party/NuttX/
DReleaseNotes19220 - ProcFS IRQs: Fix occasional computation error when fracpart >=