Definition at line 561 of file rt_util.c.
578 i = floor(hsv[0] * 6.);
579 f = (hsv[0] * 6.0) - i;
580 p = v * (1. - hsv[1]);
581 q = v * (1. - hsv[1] * f);
582 t = v * (1. - hsv[1] * (1. - f));
References DBL_EQ, ES_NONE, and r.
Referenced by test_hsv_to_rgb().