Basic operations with exponents