| 87 | } |
| 88 | |
| 89 | float SettingInfo::FloatMaxValue() const |
| 90 | { |
| 91 | static constexpr float fallback_value = std::numeric_limits<float>::max(); |
| 92 | return max_value ? StringUtil::FromChars<float>(max_value).value_or(fallback_value) : fallback_value; |
| 93 | } |
| 94 | |
| 95 | float SettingInfo::FloatStepValue() const |
| 96 | { |
no test coverage detected