correctly use double in pow