Why is FLT_MIN equal to zero?
Posted
by Nick Forge
on Stack Overflow
See other posts from Stack Overflow
or by Nick Forge
Published on 2010-03-27T03:28:43Z
Indexed on
2010/03/27
3:33 UTC
Read the original article
Hit count: 279
limits.h
specifies limits for non-floating point math types, e.g. INT_MIN and INT_MAX. These values are the most negative and most positive values that you can represent using an int.
In float.h
, there are definitions for FLT_MIN and FLT_MAX. FLT_MAX is equal to a really large number, as you would expect, but why does FLT_MIN equal zero?
© Stack Overflow or respective owner