Use a single loop for checking exponent numerals

As we need a loop anyway, the fact that single additions to the tl
are O(n^2) should not be a problem. This checkin also cleans up any
zero-value exponent to "e+0".