No need to compute the square root of clamped values. Only the values in the range ]0,1[ need to be processed.