[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I haven't read the original thread, but I had the belief that
> the problem was out of range values for something (probably
> hue). If this is the problem, then the range is known (or the
> values could not be out of it). But maybe the problem is not
> this one, but, by seeing other answers, one of floating point
> precision ?
The problem is a mix of both: the range of the hue (which is a float) is
0->360, but we must tolerate -epsilon for 0, because of the precision errors
introduced by the hue blender (likely due to -ffast-math with gcc).
--
Eric Botcazou
ebotcazou@xxxxxxxxxx