pow doubles instead of ints