exponent operator for Double class