Lines Matching defs:fract
170 mTmpHSL[0] = fract(h[fitIndex]) * 360.0f;
257 if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) {
262 if (candidate.minHue < 0.0f && h >= fract(candidate.minHue) && h <= 1.0f) {
273 } else if (candidate.maxHue > 1.0f && h >= fract(candidate.maxHue)
274 && h - fract(candidate.maxHue) < error) {
276 error = h - fract(candidate.maxHue);
277 } else if (candidate.minHue < 0.0f && h <= fract(candidate.minHue)
278 && fract(candidate.minHue) - h < error) {
280 error = fract(candidate.minHue) - h;
287 private static float fract(float v) {