Searched refs:fraction (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | fpformat.py | 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 45 if fraction: fraction = fraction[1:] 48 return sign, intpart, fraction, expo 50 def unexpo(intpart, fraction, expo): argument 53 f = len(fraction) 54 intpart, fraction = intpart + fraction[:expo], fraction[expo:] 59 intpart, fraction = intpart[:expo], intpart[expo:] + fraction 61 fraction = '0'*(-expo-i) + fraction 62 return intpart, fraction 64 def roundfrac(intpart, fraction, digs): argument [all …]
|
D | _strptime.py | 331 hour = minute = second = fraction = 0 392 fraction = int(s) 451 weekday, julian, tz)), fraction)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_strtod.py | 39 fraction = m.group('frac') or '' 40 intpart = int(m.group('int') + fraction) 41 exp = int(m.group('exp') or '0') - len(fraction)
|
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 317 int32_t fraction; in Parse() local 318 if (parseInt32(&data[firstFracDigitOffset], numFracDigits, &fraction) != 0) { in Parse() 332 x += (float)fraction * powf(10.0f, exponent - (int32_t)numFracDigits); in Parse()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | tokenizer.c | 1412 goto fraction; in tok_get() 1428 goto fraction; in tok_get() 1484 goto fraction; in tok_get() 1510 fraction: in tok_get()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | tokenizer.c | 1392 goto fraction; in tok_get() 1408 goto fraction; in tok_get() 1464 goto fraction; in tok_get() 1490 fraction: in tok_get()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | datetimemodule.c | 3785 double fraction; in datetime_from_timestamp() local 3791 fraction = timestamp - (double)timet; in datetime_from_timestamp() 3792 us = (int)round_to_long(fraction * 1e6); in datetime_from_timestamp()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | datetimemodule.c | 3785 double fraction; in datetime_from_timestamp() local 3791 fraction = timestamp - (double)timet; in datetime_from_timestamp() 3792 us = (int)round_to_long(fraction * 1e6); in datetime_from_timestamp()
|