Searched refs:uprv_trunc (Results 1 – 12 of 12) sorted by relevance
109 doAssert(uprv_trunc(12.3456), 12, "uprv_trunc(12.3456) failed."); in TestPUtilAPI()110 doAssert(uprv_trunc(12.234E2), 1223, "uprv_trunc(12.234E2) failed."); in TestPUtilAPI()111 …doAssert(uprv_trunc(uprv_getNaN()), uprv_getNaN(), "uprv_trunc(uprv_getNaN()) failed. with paramet… in TestPUtilAPI()112 …doAssert(uprv_trunc(uprv_getInfinity()), uprv_getInfinity(), "uprv_trunc(uprv_getInfinity()) faile… in TestPUtilAPI()
741 hours = uprv_trunc(hours); in formatNumeric()742 minutes = uprv_trunc(minutes); in formatNumeric()745 hours = uprv_trunc(hours); in formatNumeric()748 minutes = uprv_trunc(minutes); in formatNumeric()
1388 if (!uprv_isNaN(d) && d == uprv_trunc(d) && INT32_MIN <= d && d <= INT32_MAX) { in parse()
1831 || uprv_trunc(input) != input in fastFormatDouble()
244 U_CAPI double U_EXPORT2 uprv_trunc(double d);
558 uprv_trunc(double d) in uprv_trunc() function
821 if (scidbl_info.fPrecision == -1 && num == uprv_trunc(num)) in u_printf_scidbl_handler()
1460 #define uprv_trunc U_ICU_ENTRY_POINT_RENAME(uprv_trunc) macro