Multiplication of numbers with positive and negative exponents