Obtain minimum NEGATIVE float value in C++

Viewed 16652

I was looking at std::numeric_limits<float>::min/max() but it appears 'min()' returns the smallest absolute value, not the lowest value. Is it safe to use

-std::numeric_limits<float>::max(), i.e is float symmetric in min/max limits?

3 Answers
Related