factorsOf10.frink

/** This is an attempt to speed up Java's BigDecimal class, specifically the
createAndStripZerosToMatchScale method. This method counts the number of
trailing zeros (in base 10) from a BigInteger. However, it is potentially
inefficient when there are a lot of trailing zeroes, because it
successively divides by 10 many times, which can be very slow.

This behavior can be seen when dividing, say, 1/3 by 2/3 which will
return 0.5. This can be orders of magnitude slower than dividing, say,
1/7 by 3/7 (which comes out to 0.3333333...)