| 2676 | } |
| 2677 | |
| 2678 | inline FMT_CONSTEXPR20 void adjust_precision(int& precision, int exp10) { |
| 2679 | // Adjust fixed precision by exponent because it is relative to decimal |
| 2680 | // point. |
| 2681 | if (exp10 > 0 && precision > max_value<int>() - exp10) |
| 2682 | FMT_THROW(format_error("number is too big")); |
| 2683 | precision += exp10; |
| 2684 | } |
| 2685 | |
| 2686 | class bigint { |
| 2687 | private: |
nothing calls this directly
no outgoing calls
no test coverage detected