openframeworks/openFrameworks — pull request #1333 by bakercp (2012-06-16 06:14:38+00:00)
Title: ofParameter does not initialize min value correctly for floating point numbers. 

`numeric_limits::min()` behaves incorrectly when `ParameterType` is a floating point type. In this case, `numeric_limits::min()` yields the smallest number > 0 that it can represent, rather than the expected smallest possible value for the min bound that is being initialized. The solution is to use the negative `max()` value. This works for all valid types.

More here:

http://www.cplusplus.com/reference/std/limits/numeric_limits/