/external/openssh/openbsd-compat/ |
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, idx ); * [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
compat.c | 700 long intpart, fracpart;
local 731 fracpart = round((pow10 (max)) * (ufvalue - intpart));
733 if (fracpart >= pow10 (max)) {
735 fracpart -= pow10 (max);
753 [fracpart % 10];
754 fracpart = (fracpart / 10);
755 } while(fracpart && (fplace < 20));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
decimal.py | 557 fracpart = m.group('frac') or ''
559 self._int = str(int(intpart+fracpart))
560 self._exp = exp - len(fracpart)
[all...] |
/external/python/cpython2/Lib/ |
decimal.py | 556 fracpart = m.group('frac') or '' 558 self._int = str(int(intpart+fracpart)) 559 self._exp = exp - len(fracpart) [all...] |
/external/python/cpython3/Lib/ |
_pydecimal.py | 560 fracpart = m.group('frac') or '' 562 self._int = str(int(intpart+fracpart)) 563 self._exp = exp - len(fracpart) [all...] |
/external/python/cpython3/Objects/ |
floatobject.c | 441 double fracpart; local 455 fracpart = modf(i, &intpart); 460 if (fracpart != 0.0) { [all...] |
/external/python/cpython3/Modules/_decimal/tests/ |
randdec.py | 78 fracpart = digits(fraclen) 79 return ''.join((intpart, '.', fracpart))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
floatobject.c | 527 double fracpart;
local 542 fracpart = modf(i, &intpart);
547 if (fracpart != 0.0) {
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
floatobject.c | 526 double fracpart;
local 541 fracpart = modf(i, &intpart);
546 if (fracpart != 0.0) {
[all...] |
/external/python/cpython2/Objects/ |
floatobject.c | 535 double fracpart; local 550 fracpart = modf(i, &intpart); 555 if (fracpart != 0.0) { [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 1864 double fracpart; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 1864 double fracpart; local [all...] |
/external/python/cpython2/Modules/ |
datetimemodule.c | 1868 double fracpart; local [all...] |
/external/python/cpython3/Modules/ |
_datetimemodule.c | 2342 double fracpart; local [all...] |