forked from mpusz/mp-units
The algorithm is exactly the same; we just get our values for `num_value`, `den_value`, and `exp10` in different ways. The old printing logic assumed the ratio/Magnitude was an exact rational number. Formerly, we couldn't even _represent_ anything else, but with Magnitude, we can. Thus, we guard this assumption with a `static_assert`. Later on, we can figure out how we want to print irrational bases and/or rational powers. The point of this change is to unblock us from moving to the new infrastructure.