Searched refs:uprv_trunc (Results 1 – 8 of 8) sorted by relevance
106 doAssert(uprv_trunc(12.3456), 12, "uprv_trunc(12.3456) failed."); in TestPUtilAPI()107 doAssert(uprv_trunc(12.234E2), 1223, "uprv_trunc(12.234E2) failed."); in TestPUtilAPI()108 …doAssert(uprv_trunc(uprv_getNaN()), uprv_getNaN(), "uprv_trunc(uprv_getNaN()) failed. with paramet… in TestPUtilAPI()109 …doAssert(uprv_trunc(uprv_getInfinity()), uprv_getInfinity(), "uprv_trunc(uprv_getInfinity()) faile… in TestPUtilAPI()
298 U_INTERNAL double U_EXPORT2 uprv_trunc(double d);
565 uprv_trunc(double d) in uprv_trunc() function
982 (UDate) (((uprv_trunc(hms[0].getDouble(status)) * 60.0 in formatNumeric()983 + uprv_trunc(hms[1].getDouble(status))) * 60.0 in formatNumeric()984 + uprv_trunc(hms[2].getDouble(status))) * 1000.0); in formatNumeric()
1421 if (!uprv_isNaN(d) && d == uprv_trunc(d) && INT32_MIN <= d && d <= INT32_MAX) { in parse()
821 if (scidbl_info.fPrecision == -1 && num == uprv_trunc(num)) in u_printf_scidbl_handler()
1406 #define uprv_trunc U_ICU_ENTRY_POINT_RENAME(uprv_trunc) macro