use `std::numeric_limits<double>::min() instead of magic number`