Use the fixed notation if the exponent is in [-4, exp_upper), e.g. 0.0001 instead of 1e-04. Otherwise use the exponent notation.
| 2500 | // Use the fixed notation if the exponent is in [-4, exp_upper), |
| 2501 | // e.g. 0.0001 instead of 1e-04. Otherwise use the exponent notation. |
| 2502 | constexpr auto use_fixed(int exp, int exp_upper) -> bool { |
| 2503 | return exp >= -4 && exp < exp_upper; |
| 2504 | } |
| 2505 | |
| 2506 | template <typename Char> class fallback_digit_grouping { |
| 2507 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected