Searched refs:uprv_floor (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
H A Dindiancal.cpp145 uprv_floor((year - 1) / 4) +
146 (-uprv_floor((year - 1) / 100)) +
147 uprv_floor((year - 1) / 400) +
148 uprv_floor((((367 * month) - 362) / 12) +
164 wjd = uprv_floor(jd - 0.5) + 0.5;
166 quadricent = uprv_floor(depoch / 146097);
167 dqc = (int32_t)uprv_floor(depoch) % 146097;
168 cent = uprv_floor(dqc / 36524);
169 dcent = (int32_t)uprv_floor(dqc) % 36524;
170 quad = uprv_floor(dcen
[all...]
H A Dislamcal.cpp354 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay;
536 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
538 startDate = uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH);
H A Dgregoimp.h255 return uprv_floor(numerator / denominator);
H A Dnfsubs.cpp106 return uprv_floor(number / divisor);
195 virtual double transformNumber(double number) const { return uprv_floor(number); }
224 virtual double transformNumber(double number) const { return number - uprv_floor(number); }
619 numberToFormat = uprv_floor(numberToFormat);
646 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) {
H A Dnfrs.cpp389 if (number != uprv_floor(number)) {
768 result = (int64_t)uprv_floor(d);
H A Dgregoimp.cpp35 quotient = uprv_floor(numerator / denominator);
/external/icu/icu4c/source/i18n/
H A Dindiancal.cpp145 uprv_floor((year - 1) / 4) +
146 (-uprv_floor((year - 1) / 100)) +
147 uprv_floor((year - 1) / 400) +
148 uprv_floor((((367 * month) - 362) / 12) +
164 wjd = uprv_floor(jd - 0.5) + 0.5;
166 quadricent = uprv_floor(depoch / 146097);
167 dqc = (int32_t)uprv_floor(depoch) % 146097;
168 cent = uprv_floor(dqc / 36524);
169 dcent = (int32_t)uprv_floor(dqc) % 36524;
170 quad = uprv_floor(dcen
[all...]
H A Dislamcal.cpp354 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay;
536 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
538 startDate = uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH);
H A Dgregoimp.h255 return uprv_floor(numerator / denominator);
H A Dnfsubs.cpp106 return uprv_floor(number / divisor);
195 virtual double transformNumber(double number) const { return uprv_floor(number); }
224 virtual double transformNumber(double number) const { return number - uprv_floor(number); }
619 numberToFormat = uprv_floor(numberToFormat);
646 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) {
H A Dnfrs.cpp389 if (number != uprv_floor(number)) {
768 result = (int64_t)uprv_floor(d);
H A Dgregoimp.cpp35 quotient = uprv_floor(numerator / denominator);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtsnmfmt.cpp259 tryIt(uprv_floor(it));
265 tryIt(uprv_floor(it));
276 tryIt((int32_t)uprv_floor(it));
H A Dtsdate.cpp133 tryDate(uprv_floor(randDouble() * limit));
238 double e = uprv_floor(log10(d));
H A Dtzbdtest.cpp56 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)),
171 " \"" + dateToString(d) + "\" = " + uprv_floor(d+0.5);
H A Dnmfmtrt.cpp167 test(fmt, uprv_floor((randomDouble(10000))));
H A Dtztest.cpp260 min = 1000.0 * uprv_floor(min/1000.0);
261 max = 1000.0 * uprv_floor(max/1000.0);
290 logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min));
291 logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max));
/external/icu/icu4c/source/test/intltest/
H A Dtsnmfmt.cpp259 tryIt(uprv_floor(it));
265 tryIt(uprv_floor(it));
276 tryIt((int32_t)uprv_floor(it));
H A Dtsdate.cpp133 tryDate(uprv_floor(randDouble() * limit));
238 double e = uprv_floor(log10(d));
H A Dtzbdtest.cpp56 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)),
171 " \"" + dateToString(d) + "\" = " + uprv_floor(d+0.5);
H A Dnmfmtrt.cpp167 test(fmt, uprv_floor((randomDouble(10000))));
H A Dtztest.cpp251 min = 1000.0 * uprv_floor(min/1000.0);
252 max = 1000.0 * uprv_floor(max/1000.0);
281 logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min));
282 logln(UnicodeString("Binary Search After: ") + uprv_floor(0.5 + max) + " = " + dateToString(max));
/external/chromium_org/third_party/icu/source/common/
H A Dputilimp.h319 U_INTERNAL double U_EXPORT2 uprv_floor(double d);
391 * Does common notion of rounding e.g. uprv_floor(x + 0.5);
/external/icu/icu4c/source/common/
H A Dputilimp.h316 U_INTERNAL double U_EXPORT2 uprv_floor(double d);
388 * Does common notion of rounding e.g. uprv_floor(x + 0.5);
/external/chromium_org/third_party/icu/source/tools/gendict/
H A Dgendict.cpp43 return (int)uprv_floor((uprv_getRawUTCtime()-startTime)/1000.0);

Completed in 4914 milliseconds

12