Searched refs:intPart (Results 1 – 2 of 2) sorted by relevance
161 int intPart = (int)Math.floor(pos); in getGradientColor() local162 pos = pos - intPart; in getGradientColor()167 if ((intPart % 2) == 1) { in getGradientColor()187 int intPart = (int)Math.floor(pos); in getGradientColor() local188 pos = pos - intPart; in getGradientColor()193 if ((intPart % 2) == 1) { in getGradientColor()
308 // Place sentinel values around the *intPart paramter to modf to ensure that312 half intPart[3]; \313 intPart[0] = (half) 42.0f; \314 intPart[2] = (half) 3.14f; \315 half out = modf(((half) inp), &intPart[1]); \317 _RS_ASSERT_EQU(intPart[1], ((half) refIntPart)); \318 _RS_ASSERT_EQU(intPart[0], (half) 42.0f); \319 _RS_ASSERT_EQU(intPart[2], (half) 3.14f); \