[PATCH 1/1] msvcrt: Perform a base-10 logarithm using integer math.