I was looking at std::numeric_limits::min/max() but it appears \'min()\' returns the smallest absolute value, not the lowest value. Is it safe
std::numeric_limits::min/max()
use std::numeric_limits::lowest()
static _Ty __CRTDECL lowest() _THROW0() { // return most negative value return (-(max)()); }