Here’s a baffling design choice (which I’m reliably informed C++ inherited from older C
std::numeric_limits<int>::min() is roughly -2 billion (assuming 32 bit ints, etc.).
std::numeric_limits<float>::min() is smallest positive floating point value… something like +0.00000000000000000000000000000000000001.
CppReference warns this is the case for all floating point types with denormalization (thus it applies to
long double as well on vaguely x86-like platforms).
What you’re probably looking for (the actual opposite of