/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
fpformat.py | 36 """Return (sign, intpart, fraction, expo) or raise an exception:
38 intpart is 0 or more digits beginning with a nonzero
43 sign, intpart, fraction, exppart = res.group(1,2,3,4)
48 return sign, intpart, fraction, expo
50 def unexpo(intpart, fraction, expo):
51 """Remove the exponent by changing intpart and fraction."""
54 intpart, fraction = intpart + fraction[:expo], fraction[expo:]
56 intpart = intpart + '0'*(expo-f) [all...] |
decimal.py | 554 intpart = m.group('int')
555 if intpart is not None:
559 self._int = str(int(intpart+fracpart))
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fpformat.py | 36 """Return (sign, intpart, fraction, expo) or raise an exception: 38 intpart is 0 or more digits beginning with a nonzero 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction.""" 54 intpart, fraction = intpart + fraction[:expo], fraction[expo:] 56 intpart = intpart + '0'*(expo-f [all...] |
decimal.py | 554 intpart = m.group('int') 555 if intpart is not None: 559 self._int = str(int(intpart+fracpart)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fpformat.py | 36 """Return (sign, intpart, fraction, expo) or raise an exception: 38 intpart is 0 or more digits beginning with a nonzero 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction.""" 54 intpart, fraction = intpart + fraction[:expo], fraction[expo:] 56 intpart = intpart + '0'*(expo-f [all...] |
decimal.py | 554 intpart = m.group('int') 555 if intpart is not None: 559 self._int = str(int(intpart+fracpart)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fpformat.py | 36 """Return (sign, intpart, fraction, expo) or raise an exception: 38 intpart is 0 or more digits beginning with a nonzero 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction.""" 54 intpart, fraction = intpart + fraction[:expo], fraction[expo:] 56 intpart = intpart + '0'*(expo-f [all...] |
decimal.py | 554 intpart = m.group('int') 555 if intpart is not None: 559 self._int = str(int(intpart+fracpart)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fpformat.py | 36 """Return (sign, intpart, fraction, expo) or raise an exception: 38 intpart is 0 or more digits beginning with a nonzero 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): 51 """Remove the exponent by changing intpart and fraction.""" 54 intpart, fraction = intpart + fraction[:expo], fraction[expo:] 56 intpart = intpart + '0'*(expo-f [all...] |
decimal.py | 554 intpart = m.group('int') 555 if intpart is not None: 559 self._int = str(int(intpart+fracpart)) [all...] |
/external/openssh/openbsd-compat/ |
bsd-snprintf.c | 666 LLONG intpart; local 668 intpart = (LLONG)value; 669 value = value - intpart; 670 if (value >= 0.5) intpart++; 672 return intpart; 728 double intpart; local 772 my_modf(temp, &intpart); 774 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); 777 intpart++; 783 temp = intpart*0.1 [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
compat.c | 683 long intpart = value;
local 685 value -= intpart;
687 intpart++;
689 return intpart;
700 long intpart, fracpart;
local 719 intpart = ufvalue;
731 fracpart = round((pow10 (max)) * (ufvalue - intpart));
734 intpart++;
742 [intpart % 10];
743 intpart = (intpart / 10); [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_snprintf.c | 1000 UINTMAX_T intpart; local 1107 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) { 1121 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) { 1123 * For example, ufvalue = 2.99962, intpart = 2, and mask = 1000 1128 intpart++; 1130 if (estyle && intpart == 10) { 1137 intpart = 1; 1380 UINTMAX_T intpart = cast(value); local [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixPower.h | 420 * \param[out] intpart The integral part. 424 void split(RealScalar& p, RealScalar& intpart); 460 RealScalar intpart; local 461 split(p, intpart); 464 computeIntPower(res, intpart); 470 void MatrixPower<MatrixType>::split(RealScalar& p, RealScalar& intpart) 475 intpart = floor(p); 476 p -= intpart; 483 // Choose the more stable of intpart = floor(p) and intpart = ceil(p) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_strtod.py | 40 intpart = int(m.group('int') + fraction)
43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_strtod.py | 40 intpart = int(m.group('int') + fraction) 43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_strtod.py | 40 intpart = int(m.group('int') + fraction) 43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 40 intpart = int(m.group('int') + fraction) 43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 40 intpart = int(m.group('int') + fraction) 43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
object.c | 1024 double intpart, fractpart;
local 1039 fractpart = modf(v, &intpart);
1042 if (intpart > LONG_MAX/2 || -intpart > LONG_MAX/2) {
1053 x = (long)intpart;
[all...] |
floatobject.c | 528 double intpart;
local 542 fracpart = modf(i, &intpart);
543 vv = PyLong_FromDouble(intpart);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
object.c | 1019 double intpart, fractpart;
local 1034 fractpart = modf(v, &intpart);
1037 if (intpart > LONG_MAX/2 || -intpart > LONG_MAX/2) {
1048 x = (long)intpart;
[all...] |
floatobject.c | 527 double intpart;
local 541 fracpart = modf(i, &intpart);
542 vv = PyLong_FromDouble(intpart);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 1865 double intpart; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 1865 double intpart; local [all...] |