Added a check for `FLT_MIN` values as well.