Replace numeric_limits::min with numeric_limits::lowest
The behaviour of numeric_limits::min<float> is not what most people expect. Therefore use lowest instead, as a precautionary measure.
The behaviour of numeric_limits::min<float> is not what most people expect. Therefore use lowest instead, as a precautionary measure.