[claude] Simplify RealLimits by using +-infinity instead of flags (part of #1012)
Replace boolean flags m_has_lower_limit and m_has_upper_limit with the use of -infinity and +infinity as sentinel values. This reduces the class from 4 member variables to 2 and simplifies the logic.
- hasLowerLimit() now returns std::isfinite(m_lower_limit)
- hasUpperLimit() now returns std::isfinite(m_upper_limit)
- min()/max() return +-infinity for unbounded limits instead of 0