Port of SetFilterFloatRange function