<div dir="auto"><a href="https://stackoverflow.com/questions/17949796/how-many-unique-values-are-there-between-0-and-1-of-a-standard-float" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://stackoverflow.com/questions/17949796/how-many-unique-values-are-there-between-0-and-1-of-a-standard-float</a><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">ppl here come up with this number:</div><div dir="auto"><br></div><div dir="auto">1,065,353,215.<br></div><div dir="auto"><br></div><div dir="auto">so ... even between 0.0f and 1.0f there is quite a number of ... numbers.</div><div dir="auto"><br></div><div dir="auto">Still, out of range numbers useful in photo work like here</div><div dir="auto"><br></div><div dir="auto"><a href="https://ninedegreesbelow.com/photography/gimp-tone-map-with-levels.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://ninedegreesbelow.com/photography/gimp-tone-map-with-levels.html</a><br></div><div dir="auto"><br></div><div dir="auto">found via bugzilla bug filled for gimp:</div><div dir="auto"><br></div><div dir="auto"><a href="https://bugzilla.gnome.org/show_bug.cgi?id=737925" rel="noreferrer noreferrer" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=737925</a><br></div><div dir="auto"><br></div><div dir="auto">"<a href="https://bugzilla.gnome.org/show_bug.cgi?id=737925" target="_blank" rel="noreferrer"><b>Bug 737925</b></a> -
Some filters / operations provide float values superior to 1.0"</div><div dir="auto"><br></div><div dir="auto">on CinGG plugins I found only exactly one instance of clamp line as Andrea suggested:</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"> grep "CLAMP(output, 0, 1.0)" -r plugins plugins/histogram/histogram.C: CLAMP(output, 0, 1.0); plugins/histogram/histogram.C: CLAMP(output, 0, 1.0);</div><div dir="auto"><br></div><div dir="auto">and nothing more.</div></div>